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>
This commit is contained in:
Rob Percival
2016-03-10 23:10:02 +00:00
committed by Rich Salz
parent ad87a3dc2c
commit b536958205
4 changed files with 11 additions and 1 deletions

View File

@@ -2569,8 +2569,8 @@ static void print_stuff(BIO *bio, SSL *s, int full)
unsigned char *exportedkeymat;
#ifndef OPENSSL_NO_CT
const STACK_OF(SCT) *scts;
#endif
const SSL_CTX *ctx = SSL_get_SSL_CTX(s);
#endif
if (full) {
int got_a_chain = 0;