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:
parent
ca6b8bfe7f
commit
611a235a52
5 changed files with 15 additions and 12 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue