File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20621,7 +20621,7 @@ int ProcessReplyEx(WOLFSSL* ssl, int allowSocketErr)
2062120621 return HandleDTLSDecryptFailed(ssl);
2062220622 }
2062320623 #endif /* WOLFSSL_DTLS */
20624- #ifdef WOLFSSL_EXTRA_ALERTS
20624+ #if defined( WOLFSSL_EXTRA_ALERTS) && !defined(WOLFSSL_NO_ETM_ALERT)
2062520625 if (!ssl->options.dtls)
2062620626 SendAlert(ssl, alert_fatal, bad_record_mac);
2062720627 #endif
@@ -20715,7 +20715,7 @@ int ProcessReplyEx(WOLFSSL* ssl, int allowSocketErr)
2071520715#endif
2071620716 ) {
2071720717 WOLFSSL_MSG("Plaintext too long - Encrypt-Then-MAC");
20718- #if defined(WOLFSSL_EXTRA_ALERTS)
20718+ #if defined(WOLFSSL_EXTRA_ALERTS) && !defined(WOLFSSL_NO_ETM_ALERT)
2071920719 SendAlert(ssl, alert_fatal, record_overflow);
2072020720 #endif
2072120721 WOLFSSL_ERROR_VERBOSE(BUFFER_ERROR);
You can’t perform that action at this time.
0 commit comments