Patrick Steinhardt c543d67810 luks2: Propagate error when reading area key fails
When decrypting a given keyslot, all error cases except for one set up
an error and return the error code. The only exception is when we try to
read the area key: instead of setting up an error message, we directly
print it via grub_dprintf().

Convert the outlier to use grub_error() to allow more uniform handling
of errors.

Signed-off-by: Patrick Steinhardt <ps@kps.im>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
2020-04-21 22:18:26 +02:00
..
2019-03-25 15:14:52 +01:00
2019-03-25 15:14:52 +01:00
2019-03-25 15:14:52 +01:00
2019-03-25 15:14:52 +01:00
2019-03-25 15:14:52 +01:00
2019-03-25 15:14:52 +01:00
2015-01-24 21:47:51 +01:00
2019-03-25 15:14:52 +01:00
2018-04-23 13:21:45 +02:00
2019-03-25 15:14:52 +01:00
2012-03-26 16:10:40 +02:00
2019-03-25 15:14:52 +01:00
2019-03-25 15:14:52 +01:00