Fix crash in (Gnu)TLS debug output
authorHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>
Wed, 23 Nov 2016 09:51:51 +0000 (10:51 +0100)
committerHeiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>
Wed, 23 Nov 2016 09:51:51 +0000 (10:51 +0100)
src/src/tls-gnu.c

index 9afaa8f..0dead1c 100644 (file)
@@ -2125,7 +2125,7 @@ if (!state->tlsp || state->tlsp->active < 0) return;  /* TLS was not active */
 
 if (shutdown)
   {
-  DEBUG(D_tls) debug_printf("tls_close() from '%s': shutting down TLS\n");
+  DEBUG(D_tls) debug_printf("tls_close(): shutting down TLS\n");
   gnutls_bye(state->session, GNUTLS_SHUT_WR);
   }