summaryrefslogtreecommitdiffstats
path: root/apps/verify.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>1999-12-02 02:33:56 +0000
committerDr. Stephen Henson <steve@openssl.org>1999-12-02 02:33:56 +0000
commitdd4134101fb41261b20fe47fdf9068c84e923102 (patch)
tree322439de2b7206640b18faa7eaa3a67943b18bf9 /apps/verify.c
parent08cba61011cdf8519a1c7d1316fb27fc724b6945 (diff)
Change the trust and purpose code so it doesn't need init
either and has a static and dynamic mix.
Diffstat (limited to 'apps/verify.c')
-rw-r--r--apps/verify.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/verify.c b/apps/verify.c
index f9281a65cf..e580acee85 100644
--- a/apps/verify.c
+++ b/apps/verify.c
@@ -84,7 +84,6 @@ int MAIN(int argc, char **argv)
X509_STORE *cert_ctx=NULL;
X509_LOOKUP *lookup=NULL;
- X509_init();
cert_ctx=X509_STORE_new();
if (cert_ctx == NULL) goto end;
X509_STORE_set_verify_cb_func(cert_ctx,cb);
@@ -196,7 +195,6 @@ end:
}
if (cert_ctx != NULL) X509_STORE_free(cert_ctx);
sk_X509_pop_free(untrusted, X509_free);
- X509_cleanup();
EXIT(ret);
}