aboutsummaryrefslogtreecommitdiffstats
path: root/main/openssl/cve-2010-2939.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/openssl/cve-2010-2939.patch')
-rw-r--r--main/openssl/cve-2010-2939.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/main/openssl/cve-2010-2939.patch b/main/openssl/cve-2010-2939.patch
new file mode 100644
index 0000000000..29b5f844f2
--- /dev/null
+++ b/main/openssl/cve-2010-2939.patch
@@ -0,0 +1,12 @@
+http://bugs.gentoo.org/332027
+
+--- a/ssl/s3_clnt.c
++++ b/ssl/s3_clnt.c
+@@ -1508,6 +1508,7 @@
+ s->session->sess_cert->peer_ecdh_tmp=ecdh;
+ ecdh=NULL;
+ BN_CTX_free(bn_ctx);
++ bn_ctx = NULL;
+ EC_POINT_free(srvr_ecpoint);
+ srvr_ecpoint = NULL;
+ }