summaryrefslogtreecommitdiffstats
path: root/main/ipsec-tools/00-verify-cert-leak.patch
blob: 9e678133591054b37b4a448ec9dc9ecf1d19c11d (plain)
1
2
3
4
5
6
7
8
9
10
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