X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fconnection.c;h=0d287491e861b9ad87f2d3844d592fc066768324;hb=c3bbe13023ec0021a18f99d6e9b643d84a3505cb;hp=1fbbae57831f1464109380b4e5339df09e72710c;hpb=55ce9f0a9991527dc9a7c09ee03446c3a7c48e93;p=tlsproxy%2Ftlsproxy.git diff --git a/src/connection.c b/src/connection.c index 1fbbae5..0d28749 100644 --- a/src/connection.c +++ b/src/connection.c @@ -788,7 +788,11 @@ static int read_from_write_to_tls(gnutls_session_t from, /* Allow rehandshakes. As handshakes might be insecure make sure that * %SAFE_RENEGOTIATION is used in GnuTLS's priority string. */ if (size_read == GNUTLS_E_REHANDSHAKE) { - int result = gnutls_handshake(from); + int result; + + LOG(DEBUG1, "server requested TLS rehandshake"); + + result = gnutls_handshake(from); if (result != GNUTLS_E_SUCCESS) { LOG(WARNING, "server TLS rehandshake failed: %s", gnutls_strerror(result));