X509_STORE_CTX_cleanup(): Use internally so no need to call explicitly
[openssl.git] / test / danetest.c
index 25fd16a4113eba17495558dd65df5ec42168f9a9..49bcfb2570e04a0a1836c2317bf4e48a6d6c2a63 100644 (file)
@@ -82,7 +82,6 @@ static int verify_chain(SSL *ssl, STACK_OF(X509) *chain)
         ret = 0;
 
     SSL_set_verify_result(ssl, X509_STORE_CTX_get_error(store_ctx));
-    X509_STORE_CTX_cleanup(store_ctx);
 
 end:
     X509_STORE_CTX_free(store_ctx);