commit | a78b218042054f7e42c16114862176fb443336fa | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Thu Mar 19 17:16:11 2015 +0000 |
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Thu Mar 19 17:16:11 2015 +0000 |
tree | 8644c841470630ee358b37069689fb875b59be99 | |
parent | 6e0643762d119ac8dd3f9b84c25222a057a9da4a [diff] [blame] |
Fix contness of debug_print_buf()
diff --git a/include/mbedtls/debug.h b/include/mbedtls/debug.h index fcf1490..8a4da1c 100644 --- a/include/mbedtls/debug.h +++ b/include/mbedtls/debug.h
@@ -124,7 +124,7 @@ void debug_print_buf( const ssl_context *ssl, int level, const char *file, int line, const char *text, - unsigned char *buf, size_t len ); + const unsigned char *buf, size_t len ); #if defined(POLARSSL_BIGNUM_C) void debug_print_mpi( const ssl_context *ssl, int level,