summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorRob Percival <robpercival@google.com>2016-03-10 23:10:02 +0000
committerRich Salz <rsalz@openssl.org>2016-03-11 09:05:46 -0500
commitb536958205350bb3ce98e02ce4a06b4b2506ba65 (patch)
tree608ed5fcf29d8dd3d25cfcebce01573d4fa118eb /test
parentad87a3dc2ca3bfd4642cf2fdc524535916a85c2c (diff)
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>
Diffstat (limited to 'test')
-rw-r--r--test/ssltest.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ssltest.c b/test/ssltest.c
index c3faad77ea..9460da57e7 100644
--- a/test/ssltest.c
+++ b/test/ssltest.c
@@ -1615,11 +1615,13 @@ int main(int argc, char *argv[])
/* 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");