]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
tls_client: fix error message logging
authorTomas Krizek <tomas.krizek@nic.cz>
Thu, 1 Feb 2018 09:44:55 +0000 (10:44 +0100)
committerTomas Krizek <tomas.krizek@nic.cz>
Thu, 1 Feb 2018 09:44:55 +0000 (10:44 +0100)
daemon/tls.c

index ecf4a0b55adad9434fd4576165efcbd788a65b8a..03b601fd735babe7583dd2f2e9629c72797d2189 100644 (file)
@@ -774,7 +774,7 @@ static int client_verify_certificate(gnutls_session_t tls_session)
        kr_log_error("[tls_client] certificate PIN check failed\n");
 #else
        if (ctx->params->pins.len != 0) {
-               ERR_MSG("[tls_client] newer gnutls is required to use PIN check\n");
+               kr_log_error("[tls_client] newer gnutls is required to use PIN check\n");
                return GNUTLS_E_CERTIFICATE_ERROR;
        }
 #endif