projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
New RSA keymgmt implementation to handle import / export of RSA keys
[openssl.git]
/
crypto
/
rsa
/
rsa_x931g.c
diff --git
a/crypto/rsa/rsa_x931g.c
b/crypto/rsa/rsa_x931g.c
index 3798d02b55bfc5c2b34261a12783e8f0ee69ea11..1f6042a3d2cb0e5752694ecc230a4f4b9466a979 100644
(file)
--- a/
crypto/rsa/rsa_x931g.c
+++ b/
crypto/rsa/rsa_x931g.c
@@
-131,6
+131,7
@@
int RSA_X931_derive_ex(RSA *rsa, BIGNUM *p1, BIGNUM *p2, BIGNUM *q1,
if (rsa->iqmp == NULL)
goto err;
+ rsa->dirty_cnt++;
ret = 1;
err:
BN_CTX_end(ctx);
@@
-184,6
+185,7
@@
int RSA_X931_generate_key_ex(RSA *rsa, int bits, const BIGNUM *e,
NULL, NULL, NULL, NULL, NULL, NULL, e, cb))
goto error;
+ rsa->dirty_cnt++;
ok = 1;
error: