diff options
Diffstat (limited to 'lib/debug.h')
-rw-r--r-- | lib/debug.h | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/lib/debug.h b/lib/debug.h index e8b9a3428e..1c3ab1b013 100644 --- a/lib/debug.h +++ b/lib/debug.h @@ -20,12 +20,16 @@ * */ -const char *_gnutls_packet2str (content_type_t packet); -inline static const char* _gnutls_handshake2str(unsigned x) +const char *_gnutls_packet2str(content_type_t packet); +inline static const char *_gnutls_handshake2str(unsigned x) { -const char* s = gnutls_handshake_description_get_name(x); - if (s == NULL) return "Unknown Handshake packet"; - else return s; + const char *s = gnutls_handshake_description_get_name(x); + if (s == NULL) + return "Unknown Handshake packet"; + else + return s; } -void _gnutls_dump_mpi (const char *prefix, bigint_t a); -void _gnutls_dump_vector (const char *prefix, const uint8_t *a, size_t a_size); + +void _gnutls_dump_mpi(const char *prefix, bigint_t a); +void _gnutls_dump_vector(const char *prefix, const uint8_t * a, + size_t a_size); |