aboutsummaryrefslogtreecommitdiffstats
path: root/apps/apps.c
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 /apps/apps.c
parentad87a3dc2ca3bfd4642cf2fdc524535916a85c2c (diff)
downloadopenssl-b536958205350bb3ce98e02ce4a06b4b2506ba65.tar.gz
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 'apps/apps.c')
-rw-r--r--apps/apps.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/apps.c b/apps/apps.c
index 9bbb39e139..c76e3e345d 100644
--- a/apps/apps.c
+++ b/apps/apps.c
@@ -235,6 +235,8 @@ int ctx_set_verify_locations(SSL_CTX *ctx, const char *CAfile,
return SSL_CTX_load_verify_locations(ctx, CAfile, CApath);
}
+#ifndef OPENSSL_NO_CT
+
int ctx_set_ctlog_list_file(SSL_CTX *ctx, const char *path)
{
if (path == NULL) {
@@ -244,6 +246,8 @@ int ctx_set_ctlog_list_file(SSL_CTX *ctx, const char *path)
return SSL_CTX_set_ctlog_list_file(ctx, path);
}
+#endif
+
int dump_cert_text(BIO *out, X509 *x)
{
char *p;