dnssec-keyfromlabel.c revision ba751492fcc4f161a18b983d4f018a1a52938cb9
0c2313eb367de3b58801d643d52c0fd9bc0e5df7Evan Hunt * Copyright (C) 2007-2012 Internet Systems Consortium, Inc. ("ISC")
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * Permission to use, copy, modify, and/or distribute this software for any
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * purpose with or without fee is hereby granted, provided that the above
0c2313eb367de3b58801d643d52c0fd9bc0e5df7Evan Hunt * copyright notice and this permission notice appear in all copies.
0c2313eb367de3b58801d643d52c0fd9bc0e5df7Evan Hunt * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
0c2313eb367de3b58801d643d52c0fd9bc0e5df7Evan Hunt * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
0c2313eb367de3b58801d643d52c0fd9bc0e5df7Evan Hunt * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
0c2313eb367de3b58801d643d52c0fd9bc0e5df7Evan Hunt * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
0c2313eb367de3b58801d643d52c0fd9bc0e5df7Evan Hunt * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
0c2313eb367de3b58801d643d52c0fd9bc0e5df7Evan Hunt * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
0c2313eb367de3b58801d643d52c0fd9bc0e5df7Evan Hunt * PERFORMANCE OF THIS SOFTWARE.
0c2313eb367de3b58801d643d52c0fd9bc0e5df7Evan Hunt/* $Id: dnssec-keyfromlabel.c,v 1.38 2011/11/30 00:48:51 marka Exp $ */
#include <stdlib.h>
#include "dnssectool.h"
int verbose;
ISC_PLATFORM_NORETURN_PRE static void
usage(void) {
program);
#if defined(PKCS11CRYPTO)
#ifdef USE_PKCS11
char *endp;
int ch;
usage();
switch (ch) {
c = (unsigned char)(isc_commandline_argument[0]);
ttl = 0;
usage();
int len;
if (l == NULL)
label = l;
if (use_nsec3)
if (verbose > 0)
if (use_nsec3 &&
algname);
if (!oldstyle) {
if (setpub)
else if (setact)
if (setact)
if (setrev) {
if (kskflag == 0)
program);
if (setinact)
if (setdel)
if (setttl)
if (exact)
if (avoid_collisions)