diff options
Diffstat (limited to 'lib/debug.c')
-rw-r--r-- | lib/debug.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/debug.c b/lib/debug.c index 532fa2a92d..cb1b0ca594 100644 --- a/lib/debug.c +++ b/lib/debug.c @@ -35,19 +35,19 @@ void _gnutls_dump_mpi(const char *prefix, bigint_t a) size_t n = sizeof buf; if (_gnutls_mpi_print(a, buf, &n)) - strcpy(buf, "[can't print value]"); /* Flawfinder: ignore */ + strcpy(buf, "[can't print value]"); /* Flawfinder: ignore */ _gnutls_debug_log("MPI: length: %d\n\t%s%s\n", (int)n, prefix, _gnutls_bin2hex(buf, n, buf_hex, sizeof(buf_hex), NULL)); } -void _gnutls_dump_vector(const char *prefix, const uint8_t * a, size_t a_size) +void _gnutls_dump_vector(const char *prefix, const uint8_t *a, size_t a_size) { char buf_hex[2 * a_size + 1]; - _gnutls_debug_log("Vector: length: %d\n\t%s%s\n", (int)a_size, - prefix, _gnutls_bin2hex(a, a_size, buf_hex, - sizeof(buf_hex), NULL)); + _gnutls_debug_log("Vector: length: %d\n\t%s%s\n", (int)a_size, prefix, + _gnutls_bin2hex(a, a_size, buf_hex, sizeof(buf_hex), + NULL)); } #endif @@ -78,8 +78,8 @@ const char *_gnutls_packet2str(content_type_t packet) * Returns: a string that contains the name of the specified handshake * message or %NULL. **/ -const char -*gnutls_handshake_description_get_name(gnutls_handshake_description_t type) +const char * +gnutls_handshake_description_get_name(gnutls_handshake_description_t type) { switch (type) { case GNUTLS_HANDSHAKE_END_OF_EARLY_DATA: |