summaryrefslogtreecommitdiffstats
path: root/extra/ipsec-tools/00-verify-cert-leak.patch
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2009-05-25 09:10:41 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2009-05-25 09:10:41 +0000
commit18627aee208b2386f5032e4408cdd0faa5452f11 (patch)
tree46c472d5ea592a9256033cda42ef5db1ff8f2b61 /extra/ipsec-tools/00-verify-cert-leak.patch
parent1022369dbcd22d55717fd5b706dd2f10ac2872e4 (diff)
parent9d538064d5dfd3ed3fc5b930ae40762359bc6b32 (diff)
downloadaports-18627aee208b2386f5032e4408cdd0faa5452f11.tar.bz2
aports-18627aee208b2386f5032e4408cdd0faa5452f11.tar.xz
Merge commit 'ncopa/master'
Diffstat (limited to 'extra/ipsec-tools/00-verify-cert-leak.patch')
-rw-r--r--extra/ipsec-tools/00-verify-cert-leak.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/ipsec-tools/00-verify-cert-leak.patch b/extra/ipsec-tools/00-verify-cert-leak.patch
new file mode 100644
index 000000000..9e6781335
--- /dev/null
+++ b/extra/ipsec-tools/00-verify-cert-leak.patch
@@ -0,0 +1,11 @@
+--- a/src/racoon/crypto_openssl.c 20 Apr 2009 13:22:41 -0000 1.18
++++ b/src/racoon/crypto_openssl.c 29 Apr 2009 10:48:51 -0000
+@@ -510,7 +510,7 @@
+ X509_STORE_CTX_set_flags (csc, X509_V_FLAG_CRL_CHECK_ALL);
+ #endif
+ error = X509_verify_cert(csc);
+- X509_STORE_CTX_cleanup(csc);
++ X509_STORE_CTX_free(csc);
+
+ /*
+ * if x509_verify_cert() is successful then the value of error is