Fix mistaken use of CRYPTO_EX_INDEX_DSA in rsa.c.
Change-Id: I4a81fcbdd79f96b34cafcbd33279906b55dafbac Reviewed-on: https://boringssl-review.googlesource.com/3920 Reviewed-by: Adam Langley <agl@google.com>
This commit is contained in:
parent
dc3da93899
commit
28120a18f6
@ -125,7 +125,7 @@ void RSA_free(RSA *rsa) {
|
||||
}
|
||||
METHOD_unref(rsa->meth);
|
||||
|
||||
CRYPTO_free_ex_data(CRYPTO_EX_INDEX_DSA, rsa, &rsa->ex_data);
|
||||
CRYPTO_free_ex_data(CRYPTO_EX_INDEX_RSA, rsa, &rsa->ex_data);
|
||||
|
||||
if (rsa->n != NULL) {
|
||||
BN_clear_free(rsa->n);
|
||||
|
Loading…
Reference in New Issue
Block a user