Skip to content

Commit

Permalink
Merge pull request #8386 from paul-elliott-arm/remove_ssl_null_tls12_…
Browse files Browse the repository at this point in the history
…2_28

[Backport 2.28] Remove NULLing of ssl context in TLS1.2 transform population
  • Loading branch information
tom-cosgrove-arm authored Dec 21, 2023
2 parents 1631d13 + 9c2faca commit 0071830
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions library/ssl_tls.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

/*
Expand Down

0 comments on commit 0071830

Please sign in to comment.