summaryrefslogtreecommitdiff
path: root/net/openldap24-server/files
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2009-03-02 18:12:33 +0000
committerXin LI <delphij@FreeBSD.org>2009-03-02 18:12:33 +0000
commite860c694c281d86a14af57dd8c15692956706cda (patch)
tree2649bac351dec41d0a170a1958f2a83344fdaf46 /net/openldap24-server/files
parent- Upgrade to 0.9.4; (diff)
Vendor fix to correct incorrect fix of ITS#5849.
Notes
Notes: svn path=/head/; revision=229345
Diffstat (limited to 'net/openldap24-server/files')
-rw-r--r--net/openldap24-server/files/patch-libraries__libldap__tls_o.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/openldap24-server/files/patch-libraries__libldap__tls_o.c b/net/openldap24-server/files/patch-libraries__libldap__tls_o.c
new file mode 100644
index 000000000000..54e4eea9aa54
--- /dev/null
+++ b/net/openldap24-server/files/patch-libraries__libldap__tls_o.c
@@ -0,0 +1,11 @@
+--- libraries/libldap/tls_o.c 2009/02/10 12:27:22 1.6
++++ libraries/libldap/tls_o.c 2009/03/02 16:43:38 1.7
+@@ -421,7 +421,7 @@
+ xn = X509_get_subject_name(x);
+ der_dn->bv_len = i2d_X509_NAME( xn, NULL );
+ der_dn->bv_val = xn->bytes->data;
+- X509_free(x);
++ /* Don't X509_free, the session is still using it */
+ return 0;
+ }
+