mbed-os5 only for TYBLE16
Dependents: TYBLE16_simple_data_logger TYBLE16_MP3_Air
Diff: features/mbedtls/src/ssl_srv.c
- Revision:
- 1:9db0e321a9f4
- Parent:
- 0:5b88d5760320
--- a/features/mbedtls/src/ssl_srv.c Tue Dec 17 23:23:45 2019 +0000 +++ b/features/mbedtls/src/ssl_srv.c Tue Dec 31 06:02:27 2019 +0000 @@ -4361,7 +4361,10 @@ } /* Calculate hash and verify signature */ - ssl->handshake->calc_verify( ssl, hash ); + { + size_t dummy_hlen; + ssl->handshake->calc_verify( ssl, hash, &dummy_hlen ); + } if( ( ret = mbedtls_pk_verify( peer_pk, md_alg, hash_start, hashlen,