summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2010-11-17 12:12:57 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2010-11-17 12:12:57 +0000
commit1146a677fe6034ae019b77ddda078cdf934c2fd9 (patch)
tree26ab95c662d322655cec79876034519c3ed88007 /dev-libs/openssl/files
parentamd64/x86 stable, bug #345571 (diff)
downloadgentoo-2-1146a677fe6034ae019b77ddda078cdf934c2fd9.tar.gz
gentoo-2-1146a677fe6034ae019b77ddda078cdf934c2fd9.tar.bz2
gentoo-2-1146a677fe6034ae019b77ddda078cdf934c2fd9.zip
Add patch to fix a bug slipped by upstream but caught by testsuite; thanks to Brant Gurganus in bug #345767 for reporting and providing a link to the upstream patch.
(Portage version: 2.2.0_alpha4/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/openssl/files')
-rw-r--r--dev-libs/openssl/files/openssl-1.0.0b-rev19998.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/dev-libs/openssl/files/openssl-1.0.0b-rev19998.patch b/dev-libs/openssl/files/openssl-1.0.0b-rev19998.patch
new file mode 100644
index 000000000000..d986ae512f58
--- /dev/null
+++ b/dev-libs/openssl/files/openssl-1.0.0b-rev19998.patch
@@ -0,0 +1,16 @@
+Index: openssl/ssl/t1_lib.c
+RCS File: /v/openssl/cvs/openssl/ssl/t1_lib.c,v
+rcsdiff -q -kk '-r1.64.2.15' '-r1.64.2.16' -u '/v/openssl/cvs/openssl/ssl/t1_lib.c,v' 2>/dev/null
+--- t1_lib.c 2010/11/16 13:26:24 1.64.2.15
++++ t1_lib.c 2010/11/16 22:41:07 1.64.2.16
+@@ -779,8 +779,8 @@
+ {
+ if(s->session->tlsext_ecpointformatlist)
+ {
+- *al = TLS1_AD_DECODE_ERROR;
+- return 0;
++ OPENSSL_free(s->session->tlsext_ecpointformatlist);
++ s->session->tlsext_ecpointformatlist = NULL;
+ }
+ s->session->tlsext_ecpointformatlist_length = 0;
+ if ((s->session->tlsext_ecpointformatlist = OPENSSL_malloc(ecpointformatlist_length)) == NULL)