projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make the RSA ASYM_CIPHER implementation available inside the FIPS module
[openssl.git]
/
crypto
/
rsa
/
rsa_sp800_56b_gen.c
diff --git
a/crypto/rsa/rsa_sp800_56b_gen.c
b/crypto/rsa/rsa_sp800_56b_gen.c
index 5474aaa4b5b66c07febf881cdb4caedd77ed94bc..1f8d01d4772f24660bcfa62866128b4149cf4606 100644
(file)
--- a/
crypto/rsa/rsa_sp800_56b_gen.c
+++ b/
crypto/rsa/rsa_sp800_56b_gen.c
@@
-297,7
+297,7
@@
int rsa_sp800_56b_generate_key(RSA *rsa, int nbits, const BIGNUM *efixed,
if (!rsa_sp800_56b_validate_strength(nbits, -1))
return 0;
- ctx = BN_CTX_new
(
);
+ ctx = BN_CTX_new
_ex(rsa->libctx
);
if (ctx == NULL)
return 0;