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 9afaa8feae6f250506e5308b58749324d5638a72..0dead1c18a6487185e67e76ada5bc10ea874b80a 100644 (file)
@@ -2125,7 +2125,7 @@ if (!state->tlsp || state->tlsp->active < 0) return;  /* TLS was not active */
 
 if (shutdown)
   {
 
 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);
   }
 
   gnutls_bye(state->session, GNUTLS_SHUT_WR);
   }