summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-ssl-utils.c
diff options
context:
space:
mode:
authorSake Blok <sake@euronet.nl>2010-12-18 01:16:11 +0000
committerSake Blok <sake@euronet.nl>2010-12-18 01:16:11 +0000
commitc16ac675d988c923e7f5acad2dd428b476cc4d70 (patch)
treebf7a8ec65846503f9e107cb0f46ae41e0bc0ec39 /epan/dissectors/packet-ssl-utils.c
parent9fb850cf5bf8087ac13121b0ecce1542c88672eb (diff)
downloadwireshark-c16ac675d988c923e7f5acad2dd428b476cc4d70.tar.gz
Add support for the TLSv1.2 format of the CertificateRequest handshake message.
(see: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5485 ) svn path=/trunk/; revision=35216
Diffstat (limited to 'epan/dissectors/packet-ssl-utils.c')
-rw-r--r--epan/dissectors/packet-ssl-utils.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/epan/dissectors/packet-ssl-utils.c b/epan/dissectors/packet-ssl-utils.c
index ac71b63458..0211dee44d 100644
--- a/epan/dissectors/packet-ssl-utils.c
+++ b/epan/dissectors/packet-ssl-utils.c
@@ -885,6 +885,25 @@ const value_string tls_hello_extension_types[] = {
{ 0, NULL }
};
+/* RFC 5246 7.4.1.4.1 */
+const value_string tls_hash_algorithm[] = {
+ { 0, "None" },
+ { 1, "MD5" },
+ { 2, "SHA1" },
+ { 3, "SHA224" },
+ { 4, "SHA256" },
+ { 5, "SHA384" },
+ { 6, "SHA512" },
+ { 0, NULL }
+};
+
+const value_string tls_signature_algorithm[] = {
+ { 0, "Anonymous" },
+ { 1, "RSA" },
+ { 2, "DSA" },
+ { 3, "ECDSA" },
+ { 0, NULL }
+};
/* we keep this internal to packet-ssl-utils, as there should be
no need to access it any other way.