Use our habitual INTERNAL_ERROR debug message

This commit is contained in:
Gilles Peskine 2018-06-04 12:02:43 +02:00
parent a7fe25d5a5
commit 5c38984fa7

View File

@ -2043,7 +2043,7 @@ static int ssl_decrypt_buf( mbedtls_ssl_context *ssl )
break;
#endif
default:
MBEDTLS_SSL_DEBUG_MSG( 1, ( "unsupported HMAC hash" ) );
MBEDTLS_SSL_DEBUG_MSG( 1, ( "should never happen" ) );
return( MBEDTLS_ERR_SSL_INTERNAL_ERROR );
}