From 328f36c5c51994391363162b76c94819f9a12ae0 Mon Sep 17 00:00:00 2001 From: Rob Percival Date: Fri, 4 Mar 2016 19:06:43 +0000 Subject: Do not display a CT log error message if CT validation is disabled MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Emilia Käsper Reviewed-by: Rich Salz --- ssl/ssl_lib.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'ssl') diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c index f6bf42d1e5..2fa323a41d 100644 --- a/ssl/ssl_lib.c +++ b/ssl/ssl_lib.c @@ -4143,11 +4143,7 @@ end: int SSL_CTX_set_default_ctlog_list_file(SSL_CTX *ctx) { - int ret = CTLOG_STORE_load_default_file(ctx->ctlog_store); - - /* Clear any errors if the default file does not exist */ - ERR_clear_error(); - return ret; + return CTLOG_STORE_load_default_file(ctx->ctlog_store); } int SSL_CTX_set_ctlog_list_file(SSL_CTX *ctx, const char *path) -- cgit v1.2.3