diff options
author | Dr. Stephen Henson <steve@openssl.org> | 1999-11-29 22:35:00 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 1999-11-29 22:35:00 +0000 |
commit | bb7cd4e3ebb9c1114b7fb6f6d0e4c280ef984889 (patch) | |
tree | eaaa4cf77dfbc5b6eb6d6e8277fbdfd6cf8c4f28 /apps | |
parent | 13938acecae8f1b455812d0388e2891abd1c096d (diff) |
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')
-rw-r--r-- | apps/s_client.c | 1 | ||||
-rw-r--r-- | apps/s_server.c | 1 |
2 files changed, 2 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); diff --git a/apps/s_server.c b/apps/s_server.c index a33e0ff147..7a3a028b6e 100644 --- a/apps/s_server.c +++ b/apps/s_server.c @@ -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); |