mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-23 18:25:35 +00:00
Fix some hash debugging
This commit is contained in:
parent
4bd1284f59
commit
9cc6f5c61b
|
@ -1453,7 +1453,8 @@ static int ssl_parse_server_key_exchange( ssl_context *ssl )
|
||||||
md_free_ctx( &ctx );
|
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
|
* 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
|
* Make the signature
|
||||||
|
|
Loading…
Reference in a new issue