File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20784,7 +20784,7 @@ int ProcessReplyEx(WOLFSSL* ssl, int allowSocketErr)
2078420784 return HandleDTLSDecryptFailed(ssl);
2078520785 }
2078620786 #endif /* WOLFSSL_DTLS */
20787- #ifdef WOLFSSL_EXTRA_ALERTS
20787+ #if defined( WOLFSSL_EXTRA_ALERTS) && !defined(WOLFSSL_NO_ETM_ALERT)
2078820788 if (!ssl->options.dtls)
2078920789 SendAlert(ssl, alert_fatal, bad_record_mac);
2079020790 #endif
@@ -20879,7 +20879,7 @@ int ProcessReplyEx(WOLFSSL* ssl, int allowSocketErr)
2087920879#endif
2088020880 ) {
2088120881 WOLFSSL_MSG("Plaintext too long - Encrypt-Then-MAC");
20882- #if defined(WOLFSSL_EXTRA_ALERTS)
20882+ #if defined(WOLFSSL_EXTRA_ALERTS) && !defined(WOLFSSL_NO_ETM_ALERT)
2088320883 SendAlert(ssl, alert_fatal, record_overflow);
2088420884 #endif
2088520885 WOLFSSL_ERROR_VERBOSE(BUFFER_ERROR);
You can’t perform that action at this time.
0 commit comments