summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrtr <rtr@pkgsrc.org>2008-06-05 12:25:24 +0000
committerrtr <rtr@pkgsrc.org>2008-06-05 12:25:24 +0000
commit2d703a1accde9a2ee53b8ef8f874cb548a58c861 (patch)
tree937e9efc3d7ec7b2ee0c2fc85aa54c3683d0795b
parent4a63c8b2d9e7ede217b3ce00b003254ca1a9b8cb (diff)
downloadpkgsrc-2d703a1accde9a2ee53b8ef8f874cb548a58c861.tar.gz
lost in previous
-rw-r--r--security/openssl/patches/patch-ah12
1 files changed, 12 insertions, 0 deletions
diff --git a/security/openssl/patches/patch-ah b/security/openssl/patches/patch-ah
new file mode 100644
index 00000000000..e913f556761
--- /dev/null
+++ b/security/openssl/patches/patch-ah
@@ -0,0 +1,12 @@
+$NetBSD: patch-ah,v 1.7.2.1 2008/06/05 12:25:24 rtr Exp $
+
+--- ssl/t1_lib.c.orig 2007-10-19 09:44:10.000000000 +0200
++++ ssl/t1_lib.c
+@@ -324,6 +324,7 @@ int ssl_parse_clienthello_tlsext(SSL *s,
+ s->session->tlsext_hostname[len]='\0';
+ if (strlen(s->session->tlsext_hostname) != len) {
+ OPENSSL_free(s->session->tlsext_hostname);
++ s->session->tlsext_hostname = NULL;
+ *al = TLS1_AD_UNRECOGNIZED_NAME;
+ return 0;
+ }