mbed TLS upgraded to 2.6.0
Fork of mbedtls by
Diff: library/ssl_cookie.c
- Revision:
- 1:9ebc941037d5
- Parent:
- 0:cdf462088d13
--- a/library/ssl_cookie.c Thu Jan 05 00:18:44 2017 +0000 +++ b/library/ssl_cookie.c Fri Sep 29 18:41:59 2017 +0100 @@ -98,7 +98,7 @@ mbedtls_md_free( &ctx->hmac_ctx ); #if defined(MBEDTLS_THREADING_C) - mbedtls_mutex_init( &ctx->mutex ); + mbedtls_mutex_free( &ctx->mutex ); #endif mbedtls_zeroize( ctx, sizeof( mbedtls_ssl_cookie_ctx ) );