diff options
author | stig <stig@f5534014-38df-0310-8fa8-9805f1628bb7> | 2010-03-04 15:07:56 +0000 |
---|---|---|
committer | stig <stig@f5534014-38df-0310-8fa8-9805f1628bb7> | 2010-03-04 15:07:56 +0000 |
commit | 39103e001efdf4af17c5b69681f2b353f30f0014 (patch) | |
tree | 65fece4414fa57f745d31d61b0047122a880a51b /epan/dissectors/packet-dns.c | |
parent | 1b453d267037877f2308fd6920ccfe8e0f7bc4e0 (diff) |
From Ivan Sy via bug 4555:
Added RFC5702 algo for packet-dns.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32114 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-dns.c')
-rw-r--r-- | epan/dissectors/packet-dns.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/epan/dissectors/packet-dns.c b/epan/dissectors/packet-dns.c index e84758f7fa..ed7abab87b 100644 --- a/epan/dissectors/packet-dns.c +++ b/epan/dissectors/packet-dns.c @@ -1077,6 +1077,8 @@ dissect_type_bitmap(proto_tree *rr_tree, tvbuff_t *tvb, int cur_offset, int rr_l #define DNS_ALGO_RSASHA1 5 /* RSA/SHA1 */ #define DNS_ALGO_DSA_NSEC3_SHA1 6 /* DSA + NSEC3/SHA1 */ #define DNS_ALGO_RSASHA1_NSEC3_SHA1 7 /* RSA/SHA1 + NSEC3/SHA1 */ +#define DNS_ALGO_RSASHA256 8 /* RSA/SHA-256 */ +#define DNS_ALGO_RSASHA512 10 /* RSA/SHA-512 */ #define DNS_ALGO_HMACMD5 157 /* HMAC/MD5 */ #define DNS_ALGO_INDIRECT 252 /* Indirect key */ #define DNS_ALGO_PRIVATEDNS 253 /* Private, domain name */ @@ -1090,6 +1092,8 @@ static const value_string algo_vals[] = { { DNS_ALGO_RSASHA1, "RSA/SHA1" }, { DNS_ALGO_DSA_NSEC3_SHA1, "DSA + NSEC3/SHA1" }, { DNS_ALGO_RSASHA1_NSEC3_SHA1,"RSA/SHA1 + NSEC3/SHA1" }, + { DNS_ALGO_RSASHA256, "RSA/SHA-256" }, + { DNS_ALGO_RSASHA512, "RSA/SHA-512" }, { DNS_ALGO_HMACMD5, "HMAC/MD5" }, { DNS_ALGO_INDIRECT, "Indirect key" }, { DNS_ALGO_PRIVATEDNS, "Private, domain name" }, |