]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Slightly improved dnssec tools fatal message
authorMatthijs Mekking <matthijs@isc.org>
Thu, 24 Jun 2021 14:15:38 +0000 (16:15 +0200)
committerMatthijs Mekking <matthijs@isc.org>
Wed, 30 Jun 2021 15:28:48 +0000 (17:28 +0200)
Return the offending key state identifier.

bin/dnssec/dnssectool.c

index c01a640755edc35ffc79b984bf47093920620239..7239b5e4c7845204775efd3b0e7b6da147cd9ff8 100644 (file)
@@ -272,7 +272,7 @@ strtokeystate(const char *str) {
                        return ((dst_key_state_t)i);
                }
        }
-       fatal("unknown key state");
+       fatal("unknown key state %s", str);
 }
 
 isc_stdtime_t