* IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: dnssec-keygen.c,v 1.108.8.5 2010/08/16 22:27:16 marka Exp $ */
+/* $Id: dnssec-keygen.c,v 1.108.8.6 2010/08/16 23:46:30 tbox Exp $ */
/*! \file */
else if (strcasecmp(type, "NOCONF") == 0)
flags |= DNS_KEYTYPE_NOCONF;
else if (strcasecmp(type, "NOAUTHCONF") == 0) {
- flags |= (DNS_KEYTYPE_NOAUTH |
+ flags |= (DNS_KEYTYPE_NOAUTH |
DNS_KEYTYPE_NOCONF);
if (size < 0)
size = 0;
fatal("Key %s has no inactivation date.\n\t"
"You must use dnssec-settime -I to set one "
"before generating a successor.", keystr);
-
+
publish = activate - prepub;
if (publish < now)
fatal("Key %s becomes inactive\n\t"
fprintf(stderr, "%s: WARNING: Key %s has no removal "
"date;\n\t it will remain in the zone "
"indefinitely after rollover.\n\t "
- "You can use dnssec-settime -D to "
- "change this.\n", program, keystr);
+ "You can use dnssec-settime -D to "
+ "change this.\n", program, keystr);
- setpub = setact = ISC_TRUE;
+ setpub = setact = ISC_TRUE;
}
switch (alg) {
ret = dst_key_buildfilename(key, 0, NULL, &buf);
printf("%s\n", filename);
dst_key_free(&key);
- if (prevkey != NULL)
+ if (prevkey != NULL)
dst_key_free(&prevkey);
cleanup_logging(&log);
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
[<!ENTITY mdash "—">]>
<!--
- - Copyright (C) 2004, 2005, 2007-2009 Internet Systems Consortium, Inc. ("ISC")
+ - Copyright (C) 2004, 2005, 2007-2010 Internet Systems Consortium, Inc. ("ISC")
- Copyright (C) 2000-2003 Internet Software Consortium.
-
- Permission to use, copy, modify, and/or distribute this software for any
- PERFORMANCE OF THIS SOFTWARE.
-->
-<!-- $Id: dnssec-keygen.docbook,v 1.33.24.1 2010/08/16 22:27:16 marka Exp $ -->
+<!-- $Id: dnssec-keygen.docbook,v 1.33.24.2 2010/08/16 23:46:30 tbox Exp $ -->
<refentry id="man.dnssec-keygen">
<refentryinfo>
<date>June 30, 2000</date>
<year>2007</year>
<year>2008</year>
<year>2009</year>
+ <year>2010</year>
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
</copyright>
<copyright>
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: dnssec-settime.c,v 1.19.34.7 2010/08/16 22:27:16 marka Exp $ */
+/* $Id: dnssec-settime.c,v 1.19.34.8 2010/08/16 23:46:30 tbox Exp $ */
/*! \file */
fatal("-S and -A cannot be used together");
result = dst_key_fromnamedfile(predecessor, directory,
- DST_TYPE_PUBLIC |
+ DST_TYPE_PUBLIC |
DST_TYPE_PRIVATE,
mctx, &prevkey);
if (result != ISC_R_SUCCESS)
fatal("Predecessor has no inactivation date. "
"You must set one before\n\t"
"generating a successor.");
-
+
pub = act - prepub;
if (pub < now)
fatal("Predecessor will become inactive before the\n\t"
"indefinitely after rollover.\n",
program);
- changed = setpub = setact = ISC_TRUE;
+ changed = setpub = setact = ISC_TRUE;
dst_key_free(&prevkey);
} else {
if (prepub < 0)
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: server.h,v 1.104.8.5 2010/08/16 22:27:17 marka Exp $ */
+/* $Id: server.h,v 1.104.8.6 2010/08/16 23:46:30 tbox Exp $ */
#ifndef NAMED_SERVER_H
#define NAMED_SERVER_H 1
isc_buffer_t *text);
/*%
- * Update a zone's DNSKEY set from the key repository. If
+ * Update a zone's DNSKEY set from the key repository. If
* the command that triggered the call to this function was "sign",
* then force a full signing of the zone. If it was "loadkeys",
* then don't sign the zone; any needed changes to signatures can
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: server.c,v 1.556.8.24 2010/08/16 22:27:16 marka Exp $ */
+/* $Id: server.c,v 1.556.8.25 2010/08/16 23:46:30 tbox Exp $ */
/*! \file */
keyopts = dns_zone_getkeyopts(zone);
- /* "rndc loadkeys" requires "auto-dnssec maintain". */
+ /* "rndc loadkeys" requires "auto-dnssec maintain". */
if ((keyopts & DNS_ZONEKEY_ALLOW) == 0)
result = ISC_R_NOPERM;
else if ((keyopts & DNS_ZONEKEY_MAINTAIN) == 0 && !fullsign)
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: zone.c,v 1.540.2.28 2010/08/16 22:27:17 marka Exp $ */
+/* $Id: zone.c,v 1.540.2.29 2010/08/16 23:46:30 tbox Exp $ */
/*! \file */
dns_result_totext(result));
}
}
- }
+ }
if (fullsign) {
continue;
result = dns_rdata_tostruct(&tuple->rdata,
- &dnskey, NULL);
+ &dnskey, NULL);
RUNTIME_CHECK(result == ISC_R_SUCCESS);
dns_rdata_toregion(&tuple->rdata, &r);
algorithm = dnskey.algorithm;
}
}
- /*
- * Clear fullsign flag, if it was set, so we don't do
- * another full signing next time
- */
- zone->keyopts &= ~DNS_ZONEKEY_FULLSIGN;
+ /*
+ * Clear fullsign flag, if it was set, so we don't do
+ * another full signing next time
+ */
+ zone->keyopts &= ~DNS_ZONEKEY_FULLSIGN;
/*
* Cause the zone to add/delete NSEC3 chains for the
/*
- * Copyright (C) 2004, 2007 Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004, 2007, 2010 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2001, 2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: print_p.h,v 1.4.558.1 2010/08/16 22:39:36 marka Exp $ */
+/* $Id: print_p.h,v 1.4.558.2 2010/08/16 23:46:31 tbox Exp $ */
#ifndef LWRES_PRINT_P_H
#define LWRES_PRINT_P_H 1
#ifdef __GNUC__
#define LWRES_FORMAT_PRINTF(fmt, args) \
- __attribute__((__format__(__printf__, fmt, args)))
+ __attribute__((__format__(__printf__, fmt, args)))
#else
#define LWRES_FORMAT_PRINTF(fmt, args)
#endif