1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 16:17:36 +00:00

LibTLS: Rename AlertLevel Critial to FATAL

This matches the wording used in the TLS RFC
This commit is contained in:
stelar7 2023-04-13 23:56:52 +02:00 committed by Sam Atkins
parent ca6b8bfe7f
commit 611a235a52
5 changed files with 15 additions and 12 deletions

View file

@ -54,6 +54,14 @@ enum class ProtocolVersion : u16 {
__ENUM_PROTOCOL_VERSIONS
};
#define __ENUM_ALERT_LEVELS \
_ENUM_KEY_VALUE(WARNING, 1) \
_ENUM_KEY_VALUE(FATAL, 2)
enum class AlertLevel : u8 {
__ENUM_ALERT_LEVELS
};
#undef _ENUM_KEY
#undef _ENUM_KEY_VALUE