]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Update findzonekeys function name in log message
authorMatthijs Mekking <matthijs@isc.org>
Wed, 14 Jun 2023 07:05:31 +0000 (09:05 +0200)
committerMatthijs Mekking <matthijs@isc.org>
Wed, 14 Jun 2023 07:08:56 +0000 (09:08 +0200)
The "dns_dnssec_findzonekeys2" log message is a leftover from when that
was the name of the function. Rename to match the current name of the
function.

bin/tests/system/multisigner/tests.sh
lib/dns/dnssec.c

index 5a209e79464126f1b42df5978e0670cb7ae715b5..1b3d6cbc903330e13ff89742dd28cb6dc6006c0a 100644 (file)
@@ -142,7 +142,7 @@ status=$((status+ret))
 n=$((n+1))
 ret=0
 echo_i "make sure we did not try to sign with the keys added with nsupdate for zone ${ZONE} ($n)"
-grep "dns_dnssec_findzonekeys2: error reading ./K${ZONE}.*\.private: file not found" "${DIR}/named.run" && ret=1
+grep "dns_dnssec_findzonekeys: error reading ./K${ZONE}.*\.private: file not found" "${DIR}/named.run" && ret=1
 test "$ret" -eq 0 || echo_i "failed"
 status=$((status+ret))
 # Verify again.
@@ -168,7 +168,7 @@ status=$((status+ret))
 n=$((n+1))
 ret=0
 echo_i "make sure we did not try to sign with the keys added with nsupdate for zone ${ZONE} ($n)"
-grep "dns_dnssec_findzonekeys2: error reading ./K${ZONE}.*\.private: file not found" "${DIR}/named.run" && ret=1
+grep "dns_dnssec_findzonekeys: error reading ./K${ZONE}.*\.private: file not found" "${DIR}/named.run" && ret=1
 test "$ret" -eq 0 || echo_i "failed"
 status=$((status+ret))
 # Verify again.
@@ -464,7 +464,7 @@ test "$ret" -eq 0 || echo_i "failed"
 status=$((status+ret))
 dnssec_verify
 no_dnssec_in_journal
-grep "dns_dnssec_findzonekeys2: error reading ./K${ZONE}.*\.private: file not found" "${DIR}/named.run" && ret=1
+grep "dns_dnssec_findzonekeys: error reading ./K${ZONE}.*\.private: file not found" "${DIR}/named.run" && ret=1
 test "$ret" -eq 0 || echo_i "failed"
 status=$((status+ret))
 # NS4
@@ -475,7 +475,7 @@ test "$ret" -eq 0 || echo_i "failed"
 status=$((status+ret))
 dnssec_verify
 no_dnssec_in_journal
-grep "dns_dnssec_findzonekeys2: error reading ./K${ZONE}.*\.private: file not found" "${DIR}/named.run" && ret=1
+grep "dns_dnssec_findzonekeys: error reading ./K${ZONE}.*\.private: file not found" "${DIR}/named.run" && ret=1
 test "$ret" -eq 0 || echo_i "failed"
 status=$((status+ret))
 
index ca0bf413f4450cc132b8f3be7aa9dc5f2093a989..8240080a8e0165a0f0d858b7301e96941659f338 100644 (file)
@@ -858,7 +858,7 @@ dns_dnssec_findzonekeys(dns_db_t *db, dns_dbversion_t *ver, dns_dbnode_t *node,
 
                        isc_log_write(dns_lctx, DNS_LOGCATEGORY_GENERAL,
                                      DNS_LOGMODULE_DNSSEC, ISC_LOG_WARNING,
-                                     "dns_dnssec_findzonekeys2: error "
+                                     "dns_dnssec_findzonekeys: error "
                                      "reading %s: %s",
                                      filename, isc_result_totext(result));
                }