]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
minor cleanups on debug output
authorAlan T. DeKok <aland@freeradius.org>
Thu, 3 Jun 2021 13:25:13 +0000 (09:25 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 3 Jun 2021 13:25:13 +0000 (09:25 -0400)
src/main/cb.c

index cd0d3b6c99909db98b0785f366ba0ac77d68f8be..ec8e77aa006ec06a98a9aa8db4c73c7fd087d901 100644 (file)
@@ -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;
        }