* grub-core/disk/geli.c (geli_rekey): Fix error return type.
This commit is contained in:
parent
ac35a0f792
commit
5d17fd0fec
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2013-11-07 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/disk/geli.c (geli_rekey): Fix error return type.
|
||||||
|
|
||||||
2013-11-07 Vladimir Serbinenko <phcoder@gmail.com>
|
2013-11-07 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/disk/usbms.c (grub_usbms_cbi_cmd): Fix error type.
|
* grub-core/disk/usbms.c (grub_usbms_cbi_cmd): Fix error type.
|
||||||
|
|
|
@ -153,7 +153,7 @@ geli_rekey (struct grub_cryptodisk *dev, grub_uint64_t zoneno)
|
||||||
gcry_err = grub_crypto_hmac_buffer (dev->hash, dev->rekey_key, 64,
|
gcry_err = grub_crypto_hmac_buffer (dev->hash, dev->rekey_key, 64,
|
||||||
&tohash, sizeof (tohash), key);
|
&tohash, sizeof (tohash), key);
|
||||||
if (gcry_err)
|
if (gcry_err)
|
||||||
return grub_crypto_gcry_error (gcry_err);
|
return gcry_err;
|
||||||
|
|
||||||
return grub_cryptodisk_setkey (dev, (grub_uint8_t *) key,
|
return grub_cryptodisk_setkey (dev, (grub_uint8_t *) key,
|
||||||
dev->rekey_derived_size);
|
dev->rekey_derived_size);
|
||||||
|
|
Loading…
Reference in a new issue