Surround ctx_set_ctlog_list_file() with #ifndef OPENSSL_NO_CT Reviewed-by: Emilia Käsper <emilia@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org>
diff --git a/test/ssltest.c b/test/ssltest.c index c3faad7..9460da5 100644 --- a/test/ssltest.c +++ b/test/ssltest.c
@@ -1615,11 +1615,13 @@ /* goto end; */ } +#ifndef OPENSSL_NO_CT if (!SSL_CTX_set_default_ctlog_list_file(s_ctx) || !SSL_CTX_set_default_ctlog_list_file(s_ctx2) || !SSL_CTX_set_default_ctlog_list_file(c_ctx)) { ERR_print_errors(bio_err); } +#endif if (client_auth) { printf("client authentication\n");