aboutsummaryrefslogtreecommitdiffstats
path: root/apps/s_client.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>1999-11-29 22:35:00 +0000
committerDr. Stephen Henson <steve@openssl.org>1999-11-29 22:35:00 +0000
commitbb7cd4e3ebb9c1114b7fb6f6d0e4c280ef984889 (patch)
treeeaaa4cf77dfbc5b6eb6d6e8277fbdfd6cf8c4f28 /apps/s_client.c
parent13938acecae8f1b455812d0388e2891abd1c096d (diff)
downloadopenssl-bb7cd4e3ebb9c1114b7fb6f6d0e4c280ef984889.tar.gz
Remainder of SSL purpose and trust code: trust and purpose setting in
SSL_CTX and SSL, functions to set them and defaults if no values set.
Diffstat (limited to 'apps/s_client.c')
-rw-r--r--apps/s_client.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/s_client.c b/apps/s_client.c
index 60a8728c9b..0afd7907a1 100644
--- a/apps/s_client.c
+++ b/apps/s_client.c
@@ -740,6 +740,7 @@ end:
if (ctx != NULL) SSL_CTX_free(ctx);
if (cbuf != NULL) { memset(cbuf,0,BUFSIZZ); Free(cbuf); }
if (sbuf != NULL) { memset(sbuf,0,BUFSIZZ); Free(sbuf); }
+ X509_cleanup();
if (bio_c_out != NULL)
{
BIO_free(bio_c_out);