projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
PROV: Fix RSA-OAEP memory leak
[openssl.git]
/
providers
/
implementations
/
asymciphers
/
rsa_enc.c
diff --git
a/providers/implementations/asymciphers/rsa_enc.c
b/providers/implementations/asymciphers/rsa_enc.c
index 405842e69e4a79093936408fad7b7e8163e6da78..1f9ded4a651bdd31b17e0ee5dfb938ed2c4bf046 100644
(file)
--- a/
providers/implementations/asymciphers/rsa_enc.c
+++ b/
providers/implementations/asymciphers/rsa_enc.c
@@
-257,6
+257,7
@@
static void rsa_freectx(void *vprsactx)
EVP_MD_free(prsactx->oaep_md);
EVP_MD_free(prsactx->mgf1_md);
EVP_MD_free(prsactx->oaep_md);
EVP_MD_free(prsactx->mgf1_md);
+ OPENSSL_free(prsactx->oaep_label);
OPENSSL_free(prsactx);
}
OPENSSL_free(prsactx);
}