Handle the new bind 9.7 private key files (hopefully).

git-svn-id: https://svn.verisignlabs.com/jdnssec/tools/trunk@227 4cbd57fe-54e5-0310-bd9a-f30fe5ea5e6e
This commit is contained in:
David Blacka
2011-02-02 19:36:40 +00:00
parent 1616d07fe6
commit 03737a1efd
2 changed files with 7 additions and 1 deletions

View File

@@ -172,7 +172,7 @@ public class DnsKeyConverter
if (line.startsWith("Private-key-format: "))
{
if (!val.equals("v1.2"))
if (!val.equals("v1.2") && !val.equals("v1.3"))
{
throw new IOException("unsupported private key format: " + val);
}