projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use ERR_R_*_LIB instead of ERR_LIB_* as reason code for sub-libraries
[openssl.git]
/
crypto
/
rsa
/
rsa_gen.c
diff --git
a/crypto/rsa/rsa_gen.c
b/crypto/rsa/rsa_gen.c
index 53545edb71ac6158d3299a27458419e3c0617d34..3a124e5b6682d421690d1435fa756b40a1d1a136 100644
(file)
--- a/
crypto/rsa/rsa_gen.c
+++ b/
crypto/rsa/rsa_gen.c
@@
-410,7
+410,7
@@
static int rsa_multiprime_keygen(RSA *rsa, int bits, int primes,
ok = 1;
err:
if (ok == -1) {
- ERR_raise(ERR_LIB_RSA, ERR_
LIB_BN
);
+ ERR_raise(ERR_LIB_RSA, ERR_
R_BN_LIB
);
ok = 0;
}
BN_CTX_end(ctx);