1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-02 20:42:25 +03:00

Merge pull request #8386 from paul-elliott-arm/remove_ssl_null_tls12_2_28

[Backport 2.28] Remove NULLing of ssl context in TLS1.2 transform population
This commit is contained in:
Tom Cosgrove
2023-12-21 13:28:28 +00:00
committed by GitHub

View File

@ -992,8 +992,7 @@ static int ssl_populate_transform(mbedtls_ssl_transform *transform,
!defined(MBEDTLS_SSL_EXPORT_KEYS) && \
!defined(MBEDTLS_SSL_DTLS_CONNECTION_ID) && \
!defined(MBEDTLS_DEBUG_C)
ssl = NULL; /* make sure we don't use it except for those cases */
(void) ssl;
(void) ssl; /* ssl is unused except for those cases */
#endif
/*