cryptodisk: Use cipher name instead of object in error message
Signed-off-by: Glenn Washburn <development@efficientek.com> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
parent
8471d8e254
commit
84ff10b1c0
1 changed files with 2 additions and 2 deletions
|
@ -464,8 +464,8 @@ grub_cryptodisk_setcipher (grub_cryptodisk_t crypt, const char *ciphername, cons
|
||||||
secondary_cipher = grub_crypto_cipher_open (ciph);
|
secondary_cipher = grub_crypto_cipher_open (ciph);
|
||||||
if (!secondary_cipher)
|
if (!secondary_cipher)
|
||||||
{
|
{
|
||||||
ret = grub_error (GRUB_ERR_FILE_NOT_FOUND, "Secondary cipher %s isn't available",
|
ret = grub_error (GRUB_ERR_FILE_NOT_FOUND,
|
||||||
secondary_cipher);
|
"Secondary cipher %s isn't available", ciphername);
|
||||||
goto err;
|
goto err;
|
||||||
}
|
}
|
||||||
if (cipher->cipher->blocksize != GRUB_CRYPTODISK_GF_BYTES)
|
if (cipher->cipher->blocksize != GRUB_CRYPTODISK_GF_BYTES)
|
||||||
|
|
Loading…
Reference in a new issue