projects
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4b3ea7
)
Fix missing propq in ffc_params_generate
author
Shane Lontis
<shane.lontis@oracle.com>
Tue, 22 Sep 2020 05:53:58 +0000
(15:53 +1000)
committer
Shane Lontis
<shane.lontis@oracle.com>
Wed, 23 Sep 2020 07:31:40 +0000
(17:31 +1000)
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/12944)
crypto/ffc/ffc_params_generate.c
patch
|
blob
|
history
diff --git
a/crypto/ffc/ffc_params_generate.c
b/crypto/ffc/ffc_params_generate.c
index 1fe8e4a6a533c2619fc6fe3ee64d1e992874a976..a289270347eedd422c2e4bad2fe1c3bead8a6ce2 100644
(file)
--- a/
crypto/ffc/ffc_params_generate.c
+++ b/
crypto/ffc/ffc_params_generate.c
@@
-542,7
+542,7
@@
int ffc_params_FIPS186_4_gen_verify(OPENSSL_CTX *libctx, FFC_PARAMS *params,
*res = FFC_CHECK_INVALID_Q_VALUE;
goto err;
}
- md = EVP_MD_fetch(libctx, def_name,
NULL
);
+ md = EVP_MD_fetch(libctx, def_name,
params->mdprops
);
}
if (md == NULL)
goto err;
@@
-835,7
+835,7
@@
int ffc_params_FIPS186_2_gen_verify(OPENSSL_CTX *libctx, FFC_PARAMS *params,
*res = FFC_CHECK_INVALID_Q_VALUE;
goto err;
}
- md = EVP_MD_fetch(libctx, def_name,
NULL
);
+ md = EVP_MD_fetch(libctx, def_name,
params->mdprops
);
}
if (md == NULL)
goto err;