diff options
Diffstat (limited to 'src/daemon/https/tls/debug.c')
-rw-r--r-- | src/daemon/https/tls/debug.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/daemon/https/tls/debug.c b/src/daemon/https/tls/debug.c index a0a4953a..c1634515 100644 --- a/src/daemon/https/tls/debug.c +++ b/src/daemon/https/tls/debug.c | |||
@@ -94,14 +94,3 @@ MHD__gnutls_handshake2str (MHD_gnutls_handshake_description_t handshake) | |||
94 | } | 94 | } |
95 | } | 95 | } |
96 | 96 | ||
97 | void | ||
98 | MHD__gnutls_dump_mpi (const char *prefix, mpi_t a) | ||
99 | { | ||
100 | opaque buf[1024]; | ||
101 | size_t n = sizeof buf; | ||
102 | |||
103 | if (gcry_mpi_print (GCRYMPI_FMT_HEX, buf, n, &n, a)) | ||
104 | strcpy ((char *) buf, "[can't print value]"); /* Flawfinder: ignore */ | ||
105 | MHD__gnutls_hard_log ("MPI: length: %d\n\t%s%s\n", (n - 1) / 2, prefix, | ||
106 | buf); | ||
107 | } | ||