diff --git a/include/polarssl/ssl.h b/include/polarssl/ssl.h index 5931c57d6..1e01253d4 100644 --- a/include/polarssl/ssl.h +++ b/include/polarssl/ssl.h @@ -126,7 +126,7 @@ #define SSL_ALERT_MSG_CLOSE_NOTIFY 0 #define SSL_ALERT_MSG_UNEXPECTED_MESSAGE 10 -#define SSL_ALERT_MSG_BAD_RECORD_MAD 20 +#define SSL_ALERT_MSG_BAD_RECORD_MAC 20 #define SSL_ALERT_MSG_DECRYPTION_FAILED 21 #define SSL_ALERT_MSG_RECORD_OVERFLOW 22 #define SSL_ALERT_MSG_DECOMPRESSION_FAILURE 30