Remainder of SSL purpose and trust code: trust and purpose setting in
[openssl.git] / apps / s_server.c
index a33e0ff..7a3a028 100644 (file)
@@ -718,6 +718,7 @@ bad:
        ret=0;
 end:
        if (ctx != NULL) SSL_CTX_free(ctx);
+       X509_cleanup();
        if (bio_s_out != NULL)
                {
                BIO_free(bio_s_out);