Resolve #2717 - remove erroneous sizeof (the operator was applied to constant integer number)
diff --git a/library/ssl_tls.c b/library/ssl_tls.c
index a7facb8..ae369b2 100644
--- a/library/ssl_tls.c
+++ b/library/ssl_tls.c
@@ -7264,7 +7264,7 @@
if( ssl->session_negotiate->peer_cert_digest == NULL )
{
MBEDTLS_SSL_DEBUG_MSG( 1, ( "alloc(%d bytes) failed",
- sizeof( MBEDTLS_SSL_PEER_CERT_DIGEST_DFL_LEN ) ) );
+ MBEDTLS_SSL_PEER_CERT_DIGEST_DFL_LEN ) );
mbedtls_ssl_send_alert_message( ssl,
MBEDTLS_SSL_ALERT_LEVEL_FATAL,
MBEDTLS_SSL_ALERT_MSG_INTERNAL_ERROR );