diff options
author | Xin LI <delphij@FreeBSD.org> | 2009-03-02 18:12:33 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2009-03-02 18:12:33 +0000 |
commit | e860c694c281d86a14af57dd8c15692956706cda (patch) | |
tree | 2649bac351dec41d0a170a1958f2a83344fdaf46 /net | |
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')
-rw-r--r-- | net/openldap24-server/Makefile | 2 | ||||
-rw-r--r-- | net/openldap24-server/files/patch-libraries__libldap__tls_o.c | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/net/openldap24-server/Makefile b/net/openldap24-server/Makefile index d1bd6fe2e422..ff367cf98405 100644 --- a/net/openldap24-server/Makefile +++ b/net/openldap24-server/Makefile @@ -38,7 +38,7 @@ WANT_OPENLDAP_VER?= 24 BROKEN= incompatible OpenLDAP version: ${WANT_OPENLDAP_VER} .endif -PORTREVISION_CLIENT= 0 +PORTREVISION_CLIENT= 1 PORTREVISION_SERVER= 0 .if !defined(CLIENT_ONLY) 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; + } + |