1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-30 22:43:08 +03:00

Explicit void pointer cast for buggy MS compiler

This commit is contained in:
Paul Bakker
2013-10-11 15:20:27 +02:00
parent 5191e92ecc
commit beccd9f226
2 changed files with 4 additions and 2 deletions

View File

@ -4161,7 +4161,8 @@ void ssl_handshake_free( ssl_handshake_params *handshake )
#endif
#if defined(POLARSSL_ECDH_C) || defined(POLARSSL_ECDSA_C)
polarssl_free( handshake->curves );
/* explicit void pointer cast for buggy MS compiler */
polarssl_free( (void *) handshake->curves );
#endif
#if defined(POLARSSL_X509_CRT_PARSE_C) && \