diff options
Diffstat (limited to 'src/daemon/https/tls/debug.c')
-rw-r--r-- | src/daemon/https/tls/debug.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/daemon/https/tls/debug.c b/src/daemon/https/tls/debug.c index ac657504..a0a4953a 100644 --- a/src/daemon/https/tls/debug.c +++ b/src/daemon/https/tls/debug.c | |||
@@ -28,30 +28,6 @@ | |||
28 | #include <stdlib.h> | 28 | #include <stdlib.h> |
29 | #include <gcrypt.h> | 29 | #include <gcrypt.h> |
30 | 30 | ||
31 | #ifdef DEBUG | ||
32 | |||
33 | |||
34 | void | ||
35 | MHD__gnutls_print_state (MHD_gtls_session_t session) | ||
36 | { | ||
37 | |||
38 | MHD__gnutls_debug_log ("GNUTLS State:\n"); | ||
39 | MHD__gnutls_debug_log ("Connection End: %d\n", | ||
40 | session->security_parameters.entity); | ||
41 | MHD__gnutls_debug_log ("Cipher Algorithm: %d\n", | ||
42 | session->security_parameters. | ||
43 | read_bulk_cipher_algorithm); | ||
44 | MHD__gnutls_debug_log ("MAC algorithm: %d\n", | ||
45 | session->security_parameters.read_mac_algorithm); | ||
46 | MHD__gnutls_debug_log ("Compression Algorithm: %d\n", | ||
47 | session->security_parameters. | ||
48 | read_compression_algorithm); | ||
49 | MHD__gnutls_debug_log ("\n"); | ||
50 | |||
51 | } | ||
52 | |||
53 | #endif | ||
54 | |||
55 | const char * | 31 | const char * |
56 | MHD__gnutls_packet2str (content_type_t packet) | 32 | MHD__gnutls_packet2str (content_type_t packet) |
57 | { | 33 | { |