From: Nikos Mavrogiannopoulos Date: Wed, 2 Nov 2016 07:29:25 +0000 (+0100) Subject: handshake: log advertized version X-Git-Tag: gnutls_3_5_6~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4a4468cee153ed8e46cf9636916fc4cccbe606f;p=thirdparty%2Fgnutls.git handshake: log advertized version --- diff --git a/lib/handshake.c b/lib/handshake.c index 02ccf5f155..d8eaf6e06a 100644 --- a/lib/handshake.c +++ b/lib/handshake.c @@ -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).