From: Alan T. DeKok Date: Wed, 17 May 2017 16:07:49 +0000 (-0400) Subject: request by be NULL. Found by PVS-Studio X-Git-Tag: release_3_0_14~15 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=freeradius.git;a=commitdiff_plain;h=9aeaffd0c07f11e300a1fdc1e6dd8bb0ab8349f2 request by be NULL. Found by PVS-Studio --- diff --git a/src/main/tls.c b/src/main/tls.c index 237f49a..c21c5f1 100644 --- a/src/main/tls.c +++ b/src/main/tls.c @@ -2427,7 +2427,8 @@ int cbtls_verify(int ok, X509_STORE_CTX *ctx) true, true, EXEC_TIMEOUT) != 0) { AUTH(LOG_PREFIX ": Certificate CN (%s) fails external verification!", common_name); my_ok = 0; - } else { + + } else if (request) { RDEBUG("Client certificate CN %s passed external validation", common_name); }