mirror of
https://github.com/yuzu-emu/mbedtls
synced 2024-11-24 23:08:11 +00:00
Fix some hash debugging
This commit is contained in:
parent
4bd1284f59
commit
9cc6f5c61b
2 changed files with 4 additions and 2 deletions
|
@ -1453,7 +1453,8 @@ static int ssl_parse_server_key_exchange( ssl_context *ssl )
|
|||
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
|
||||
|
|
|
@ -2040,7 +2040,8 @@ static int ssl_write_server_key_exchange( ssl_context *ssl )
|
|||
|
||||
}
|
||||
|
||||
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 );
|
||||
|
||||
/*
|
||||
* Make the signature
|
||||
|
|
Loading…
Reference in a new issue