ldnssec-keygen: fix usage and return value while printing
This commit is contained in:
parent
6f48d8b947
commit
bfc403b266
@ -29,7 +29,7 @@ usage(void)
|
|||||||
|
|
||||||
fprintf(stderr, "Usage:\n"
|
fprintf(stderr, "Usage:\n"
|
||||||
"\t%s [-b bits] algorithm\n"
|
"\t%s [-b bits] algorithm\n"
|
||||||
"\t%s [-a algorithm] [-d domain] [-k] -r ds|dnskey\n",
|
"\t%s -r [-a algorithm] [-d domain] [-k] ds|dnskey\n",
|
||||||
p, p);
|
p, p);
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
@ -92,7 +92,7 @@ print_record_main(ldns_hash hash, int ksk, const char *domain, int argc,
|
|||||||
ldns_rr_free(ds_rr);
|
ldns_rr_free(ds_rr);
|
||||||
ldns_key_deep_free(key);
|
ldns_key_deep_free(key);
|
||||||
|
|
||||||
return 1;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
Loading…
Reference in New Issue
Block a user