commit | 9cc6f5c61b87ddbdf151f701909562105efc5da4 | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Tue Aug 27 14:29:44 2013 +0200 |
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Tue Aug 27 22:21:21 2013 +0200 |
tree | 58a96b902e77967b6b6798563ed3e61efdbbe0ac | |
parent | 4bd1284f590c5e26e78615af08d03ac6d8ea6494 [diff] [blame] |
Fix some hash debugging
diff --git a/library/ssl_cli.c b/library/ssl_cli.c index 29e9316..a821a31 100644 --- a/library/ssl_cli.c +++ b/library/ssl_cli.c
@@ -1453,7 +1453,8 @@ md_free_ctx( &ctx ); } - SSL_DEBUG_BUF( 3, "parameters hash", hash, hashlen ); + SSL_DEBUG_BUF( 3, "parameters hash", hash, hashlen != 0 ? hashlen : + (unsigned int) ( md_info_from_type( md_alg ) )->size ); /* * Verify signature