dnssec-importkey.c revision 0c91911b4d1e872b87eaf6431ed47fe24d18dd43
0N/A * Copyright (C) 2008-2012 Internet Systems Consortium, Inc. ("ISC") * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR * PERFORMANCE OF THIS SOFTWARE. #
define PATH_MAX 1024 /* AIX, WIN32, and others don't define this. */const char *
program =
"dnssec-importkey";
fatal(
"can't create database");
fatal(
"dns_db_findrdataset");
fatal(
"invalid keyfile name %s: %s",
fatal(
"can't decode key");
fatal(
"can't copy name");
fatal(
"Failed to build public key filename: %s",
fatal(
"Failed to build private key filename: %s",
fatal(
"-D specified more than once");
fatal(
"directory must be non-empty string");
fatal(
"-P specified more than once");
fatal(
"-v must be followed by a number");
fatal(
"the key file name was not specified");
fatal(
"extraneous arguments");
fatal(
"could not initialize hash");
fatal(
"could not initialize dst: %s",
/* using zone name as the zone file name */ fatal(
"could not load DNSKEY set: %s\n",