Skip to content

Commit

Permalink
platform,posix,mbedtls: Fix typo in code
Browse files Browse the repository at this point in the history
  • Loading branch information
szsam committed Mar 30, 2023
1 parent d8c63c0 commit b24a158
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/posix/transport/src/mbedtls_pkcs11_posix.c
Original file line number Diff line number Diff line change
Expand Up @@ -860,7 +860,7 @@ void Mbedtls_Pkcs11_Disconnect( NetworkContext_t * pNetworkContext )
{
LogInfo( ( "Closing TLS connection: TLS close-notify sent." ) );
}
else if( ( tlsStatus == MBEDTLS_ERR_SSL_WANT_READ ) &&
else if( ( tlsStatus == MBEDTLS_ERR_SSL_WANT_READ ) ||
( tlsStatus == MBEDTLS_ERR_SSL_WANT_WRITE ) )
{
/* WANT_READ and WANT_WRITE can be ignored. Logging for debugging purposes. */
Expand Down

0 comments on commit b24a158

Please sign in to comment.