From 11f504681b5f953b7592870f1b8e6041aa2690f2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C5=82=20K=C4=99pie=C5=84?=
Date: Mon, 23 Sep 2019 16:20:18 +0200
Subject: [PATCH] Fix information about default DS algorithm(s) used
Commit 0a20176ca6af639251317d01ab2d0bdef2b25e6b is an overly broad
backport: in BIND 9.11, dnssec-dsfromkey still defaults to outputting
both SHA-1 and SHA-256 digests. Ensure the documentation matches the
code by correcting the former.
---
bin/dnssec/dnssec-dsfromkey.8 | 2 +-
bin/dnssec/dnssec-dsfromkey.docbook | 2 +-
bin/dnssec/dnssec-dsfromkey.html | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/bin/dnssec/dnssec-dsfromkey.8 b/bin/dnssec/dnssec-dsfromkey.8
index 55621c05ae..619a2ca5de 100644
--- a/bin/dnssec/dnssec-dsfromkey.8
+++ b/bin/dnssec/dnssec-dsfromkey.8
@@ -98,7 +98,7 @@ Specify a digest algorithm to use when converting DNSKEY records to DS records\&
.sp
The
\fIalgorithm\fR
-must be one of SHA\-1, SHA\-256, or SHA\-384\&. These values are case insensitive, and the hyphen may be omitted\&. If no algorithm is specified, the default is SHA\-256\&.
+must be one of SHA\-1, SHA\-256, or SHA\-384\&. These values are case insensitive, and the hyphen may be omitted\&. If no algorithm is specified, the default is to use both SHA\-1 and SHA\-256\&.
.RE
.PP
\-A
diff --git a/bin/dnssec/dnssec-dsfromkey.docbook b/bin/dnssec/dnssec-dsfromkey.docbook
index 7f0039ebb1..7fe0bf5add 100644
--- a/bin/dnssec/dnssec-dsfromkey.docbook
+++ b/bin/dnssec/dnssec-dsfromkey.docbook
@@ -177,7 +177,7 @@
The algorithm must be one of
SHA-1, SHA-256, or SHA-384. These values are case insensitive,
and the hyphen may be omitted. If no algorithm is specified,
- the default is SHA-256.
+ the default is to use both SHA-1 and SHA-256.
diff --git a/bin/dnssec/dnssec-dsfromkey.html b/bin/dnssec/dnssec-dsfromkey.html
index ee1cfea9e6..1b99200ff3 100644
--- a/bin/dnssec/dnssec-dsfromkey.html
+++ b/bin/dnssec/dnssec-dsfromkey.html
@@ -156,7 +156,7 @@
The algorithm must be one of
SHA-1, SHA-256, or SHA-384. These values are case insensitive,
and the hyphen may be omitted. If no algorithm is specified,
- the default is SHA-256.
+ the default is to use both SHA-1 and SHA-256.
-A