Reset the callback sources, so keyboard input will be prompted for each
time it's needed.
This commit is contained in:
@@ -343,6 +343,7 @@ main(int argc, char *argv[]) {
|
||||
result = dns_dnssec_sign(domain, &rdataset, keynode->key,
|
||||
&starttime, &endtime, mctx, &b,
|
||||
rdata);
|
||||
isc_entropy_stopcallbacksources(ectx);
|
||||
if (result != ISC_R_SUCCESS)
|
||||
fatal("failed to sign keyset with key %s/%s/%d: %s",
|
||||
nametostr(dst_key_name(keynode->key)),
|
||||
|
||||
@@ -325,6 +325,7 @@ main(int argc, char *argv[]) {
|
||||
result = dns_dnssec_sign(domain, &rdataset, key,
|
||||
&sig.timesigned, &sig.timeexpire,
|
||||
mctx, &b, rdata);
|
||||
isc_entropy_stopcallbacksources(ectx);
|
||||
if (result != ISC_R_SUCCESS)
|
||||
fatal("key '%s/%s/%d' failed to sign data: %s",
|
||||
nametostr(dst_key_name(key)),
|
||||
|
||||
@@ -99,6 +99,7 @@ signwithkey(dns_name_t *name, dns_rdataset_t *rdataset, dns_rdata_t *rdata,
|
||||
dns_rdata_init(rdata);
|
||||
result = dns_dnssec_sign(name, rdataset, key, &starttime, &endtime,
|
||||
mctx, b, rdata);
|
||||
isc_entropy_stopcallbacksources(ectx);
|
||||
if (result != ISC_R_SUCCESS)
|
||||
fatal("key '%s/%s/%d' failed to sign data: %s",
|
||||
nametostr(dst_key_name(key)), algtostr(dst_key_alg(key)),
|
||||
|
||||
Reference in New Issue
Block a user