summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibTLS/CipherSuite.h
diff options
context:
space:
mode:
authorstelar7 <dudedbz@gmail.com>2023-04-14 00:20:19 +0200
committerSam Atkins <atkinssj@gmail.com>2023-04-14 12:32:04 +0100
commitda8edece295ab9bc762f3aecf2f874cb7ba72857 (patch)
tree7b2b10888839675dd1c2d6546dd331ec67d6c4fd /Userland/Libraries/LibTLS/CipherSuite.h
parentfba7695dccdc7df8f0f6994ca8f67ac9c5d3b335 (diff)
downloadserenity-da8edece295ab9bc762f3aecf2f874cb7ba72857.zip
LibTLS: Move HashAlgorithm to Extensions.h
Also add missing values from the IANA registry
Diffstat (limited to 'Userland/Libraries/LibTLS/CipherSuite.h')
-rw-r--r--Userland/Libraries/LibTLS/CipherSuite.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/Userland/Libraries/LibTLS/CipherSuite.h b/Userland/Libraries/LibTLS/CipherSuite.h
index 1348b15e8b..ee60b9f69f 100644
--- a/Userland/Libraries/LibTLS/CipherSuite.h
+++ b/Userland/Libraries/LibTLS/CipherSuite.h
@@ -96,17 +96,6 @@ enum class CipherSuite {
};
// Defined in RFC 5246 section 7.4.1.4.1
-enum class HashAlgorithm : u8 {
- None = 0,
- MD5 = 1,
- SHA1 = 2,
- SHA224 = 3,
- SHA256 = 4,
- SHA384 = 5,
- SHA512 = 6,
-};
-
-// Defined in RFC 5246 section 7.4.1.4.1
struct SignatureAndHashAlgorithm {
HashAlgorithm hash;
SignatureAlgorithm signature;