summaryrefslogtreecommitdiff
path: root/lib/libcrypto/rsa/rsa_lib.c
diff options
context:
space:
mode:
authorKinichiro Inoguchi <inoguchi@cvs.openbsd.org>2020-01-17 10:40:04 +0000
committerKinichiro Inoguchi <inoguchi@cvs.openbsd.org>2020-01-17 10:40:04 +0000
commit948a32a6c36c39cb76e370e53951f97dd0f503ba (patch)
tree5cdc75458aa3a85c72430b13dd6e3b96f8c35d54 /lib/libcrypto/rsa/rsa_lib.c
parenteb329e7c2add60bb082145a3f5e8166c26e8de80 (diff)
Free pss in RSA_free
ok bcook@ ok and "move it down two lines" jsing@
Diffstat (limited to 'lib/libcrypto/rsa/rsa_lib.c')
-rw-r--r--lib/libcrypto/rsa/rsa_lib.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libcrypto/rsa/rsa_lib.c b/lib/libcrypto/rsa/rsa_lib.c
index 7cae5cb2eda..0b76aae3989 100644
--- a/lib/libcrypto/rsa/rsa_lib.c
+++ b/lib/libcrypto/rsa/rsa_lib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rsa_lib.c,v 1.39 2019/11/01 03:41:40 jsing Exp $ */
+/* $OpenBSD: rsa_lib.c,v 1.40 2020/01/17 10:40:03 inoguchi Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -209,6 +209,7 @@ RSA_free(RSA *r)
BN_clear_free(r->iqmp);
BN_BLINDING_free(r->blinding);
BN_BLINDING_free(r->mt_blinding);
+ RSA_PSS_PARAMS_free(r->pss);
free(r);
}