]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#7982 Log TLS proto+cipher suite on client side
authorOndřej Kuzník <ondra@mistotebe.net>
Fri, 27 Sep 2024 13:21:20 +0000 (14:21 +0100)
committerOndřej Kuzník <ondra@mistotebe.net>
Fri, 27 Sep 2024 13:21:20 +0000 (14:21 +0100)
libraries/libldap/tls2.c

index dea46de0adf436d18cbecf70553bcc23a77d55b2..18950c70506db02ff4519f659154889f834ae71d 100644 (file)
@@ -444,6 +444,9 @@ ldap_int_tls_connect( LDAP *ld, LDAPConn *conn, const char *host )
                return -1;
        }
 
+       Debug2( LDAP_DEBUG_CONNS, "TLS: session established tls_proto=%s tls_cipher=%s\n",
+               ldap_pvt_tls_get_version( ssl ), ldap_pvt_tls_get_cipher( ssl ) );
+
        return 0;
 }