Move the SCT List extension parser into libssl.
[openssl.git] / apps / s_client.c
index af88ffdaada32a8d192d3fb627216c3281a4452c..f85309f9003f1fc104c73a871c537a9244867dbf 100644 (file)
@@ -713,6 +713,8 @@ static char *jpake_secret = NULL;
        c_msg=0;
        c_showcerts=0;
 
+       X509V3_EXT_add_rfc6962();
+
        if (bio_err == NULL)
                bio_err=BIO_new_fp(stderr,BIO_NOCLOSE);
 
@@ -2193,6 +2195,7 @@ end:
                BIO_free(bio_c_msg);
                bio_c_msg=NULL;
                }
+       X509V3_EXT_cleanup();
        apps_shutdown();
        OPENSSL_EXIT(ret);
        }