]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
handshake: log advertized version
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Wed, 2 Nov 2016 07:29:25 +0000 (08:29 +0100)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Wed, 2 Nov 2016 07:29:28 +0000 (08:29 +0100)
lib/handshake.c

index 02ccf5f155c8e476db5a7f1c10662410e71600a4..d8eaf6e06a893912764623b3dcc74cd05c5c9973 100644 (file)
@@ -2018,6 +2018,8 @@ static int send_client_hello(gnutls_session_t session, int again)
                        gnutls_assert();
                        goto cleanup;
                }
+               _gnutls_handshake_log("HSK[%p]: Adv. version: %u.%u\n", session,
+                                     (unsigned)tver[0], (unsigned)tver[1]);
 
                /* Set the version we advertized as maximum 
                 * (RSA uses it).