aboutsummaryrefslogtreecommitdiffstats
path: root/apps/ocsp.c
diff options
context:
space:
mode:
authorRob Stradling <rob@comodo.com>2014-02-19 13:12:46 +0000
committerRob Stradling <rob@comodo.com>2014-02-19 13:12:46 +0000
commitb263f2124607c42a1013b6b342341196b2bdec8d (patch)
treebf2187bbb4537f3842bd40559edad07d269823aa /apps/ocsp.c
parentdcfe8df148d225aa15fdd0eba486a028ad4b06dc (diff)
downloadopenssl-b263f2124607c42a1013b6b342341196b2bdec8d.tar.gz
Move the SCT List extension parser into libssl.
Add the extension parser in the s_client, ocsp and x509 apps.
Diffstat (limited to 'apps/ocsp.c')
-rw-r--r--apps/ocsp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/ocsp.c b/apps/ocsp.c
index ccf2f0f949..05db842cd9 100644
--- a/apps/ocsp.c
+++ b/apps/ocsp.c
@@ -174,6 +174,7 @@ int MAIN(int argc, char **argv)
goto end;
SSL_load_error_strings();
OpenSSL_add_ssl_algorithms();
+ X509V3_EXT_add_rfc6962();
args = argv + 1;
reqnames = sk_OPENSSL_STRING_new_null();
ids = sk_OCSP_CERTID_new_null();
@@ -970,6 +971,7 @@ end:
OPENSSL_free(path);
}
+ X509V3_EXT_cleanup();
OPENSSL_EXIT(ret);
}