--- 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