From: Alan T. DeKok Date: Thu, 3 Jun 2021 13:25:13 +0000 (-0400) Subject: minor cleanups on debug output X-Git-Tag: release_3_0_23~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4dcb91a36b02af4f3fb0975c6a1eb3a841f7a34;p=thirdparty%2Ffreeradius-server.git minor cleanups on debug output --- diff --git a/src/main/cb.c b/src/main/cb.c index cd0d3b6c999..ec8e77aa006 100644 --- a/src/main/cb.c +++ b/src/main/cb.c @@ -58,7 +58,8 @@ void cbtls_info(SSL const *s, int where, int ret) len = strlen(abbrv); if ((len > 1) && (abbrv[len - 1] == ' ')) len--; - RDEBUG3("(TLS) Handshake state [%.*s] - %s%s", (int)len, abbrv, role, state); + RDEBUG3("(TLS) Handshake state [%.*s] - %s%s (%d)", + (int)len, abbrv, role, state, SSL_get_state(s)); /* * After a ClientHello, list all the proposed ciphers from the client @@ -91,9 +92,8 @@ void cbtls_info(SSL const *s, int where, int ret) } #endif } else { - RDEBUG2("(TLS) Handshake state - %s%s (%i)", role, state, SSL_get_state(s)); + RDEBUG2("(TLS) Handshake state - %s%s", role, state); } - RDEBUG3("(TLS) %s: %s", role, state); return; }