mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-24 00:06:32 +01:00
Changed prototype for ssl_set_truncated_hmac() to allow disabling
This commit is contained in:
parent
277f7f23e2
commit
8c1ede655f
3 changed files with 7 additions and 4 deletions
|
|
@ -634,7 +634,7 @@ int main( int argc, char *argv[] )
|
|||
ssl_set_max_frag_len( &ssl, opt.mfl_code );
|
||||
|
||||
if( opt.trunc_hmac != 0 )
|
||||
ssl_set_truncated_hmac( &ssl );
|
||||
ssl_set_truncated_hmac( &ssl, SSL_TRUNC_HMAC_ENABLED );
|
||||
|
||||
ssl_set_rng( &ssl, ctr_drbg_random, &ctr_drbg );
|
||||
ssl_set_dbg( &ssl, my_debug, stdout );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue