diff options
Diffstat (limited to 'sys/arch/i386/stand/libsa/softraid.c')
-rw-r--r-- | sys/arch/i386/stand/libsa/softraid.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/i386/stand/libsa/softraid.c b/sys/arch/i386/stand/libsa/softraid.c index 06bbc554509..6a28fe8ab71 100644 --- a/sys/arch/i386/stand/libsa/softraid.c +++ b/sys/arch/i386/stand/libsa/softraid.c @@ -1,4 +1,4 @@ -/* $OpenBSD: softraid.c,v 1.17 2016/09/10 16:38:16 jsing Exp $ */ +/* $OpenBSD: softraid.c,v 1.18 2016/09/10 16:53:22 jsing Exp $ */ /* * Copyright (c) 2012 Joel Sing <jsing@openbsd.org> @@ -516,7 +516,7 @@ sr_crypto_decrypt_keys(struct sr_boot_volume *bv) struct sr_meta_crypto *cm; struct sr_boot_keydisk *kd; struct sr_meta_opt_item *omi; - struct sr_crypto_kdf_pbkdf2 *kdfhint; + struct sr_crypto_pbkdf *kdfhint; struct sr_crypto_kdfinfo kdfinfo; char passphrase[PASSPHRASE_LENGTH]; u_int8_t digest[SHA1_DIGEST_LENGTH]; @@ -536,7 +536,7 @@ sr_crypto_decrypt_keys(struct sr_boot_volume *bv) } cm = (struct sr_meta_crypto *)omi->omi_som; - kdfhint = (struct sr_crypto_kdf_pbkdf2 *)&cm->scm_kdfhint; + kdfhint = (struct sr_crypto_pbkdf *)&cm->scm_kdfhint; switch (cm->scm_mask_alg) { case SR_CRYPTOM_AES_ECB_256: |