[v9_9] add sha-384 to dnssec-checkds

3768.	[bug]		"dnssec-checkds" was missing the SHA-384 digest
			algorithm. [RT #34000]

(cherry picked from commit 72aa3b2a4e)
This commit is contained in:
Evan Hunt
2014-02-28 21:10:37 -08:00
parent 51b67b2afa
commit af719fc9d5
2 changed files with 5 additions and 2 deletions
+2 -2
View File
@@ -57,7 +57,7 @@ def shellquote(s):
# Delegation Signer (DS) resource record
############################################################################
class DSRR:
hashalgs = {1: 'SHA-1', 2: 'SHA-256', 3: 'GOST'}
hashalgs = {1: 'SHA-1', 2: 'SHA-256', 3: 'GOST', 4: 'SHA-384' }
rrname=''
rrclass='IN'
rrtype='DS'
@@ -107,7 +107,7 @@ class DSRR:
# DNSSEC Lookaside Validation (DLV) resource record
############################################################################
class DLVRR:
hashalgs = {1: 'SHA-1', 2: 'SHA-256', 3: 'GOST'}
hashalgs = {1: 'SHA-1', 2: 'SHA-256', 3: 'GOST', 4: 'SHA-384' }
parent=''
dlvname=''
rrname='IN'