mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 05:28:00 +00:00
update copyright notice
This commit is contained in:
parent
dd65eb1efb
commit
c6fb85f950
@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2004, 2005, 2007, 2008 Internet Systems Consortium, Inc. ("ISC")
|
# Copyright (C) 2004, 2005, 2007-2009 Internet Systems Consortium, Inc. ("ISC")
|
||||||
# Copyright (C) 2000-2002 Internet Software Consortium.
|
# Copyright (C) 2000-2002 Internet Software Consortium.
|
||||||
#
|
#
|
||||||
# Permission to use, copy, modify, and/or distribute this software for any
|
# Permission to use, copy, modify, and/or distribute this software for any
|
||||||
@ -13,7 +13,7 @@
|
|||||||
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||||
# PERFORMANCE OF THIS SOFTWARE.
|
# PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
|
||||||
# $Id: Makefile.in,v 1.36 2009/06/30 02:52:32 each Exp $
|
# $Id: Makefile.in,v 1.37 2009/07/01 23:47:36 tbox Exp $
|
||||||
|
|
||||||
srcdir = @srcdir@
|
srcdir = @srcdir@
|
||||||
VPATH = @srcdir@
|
VPATH = @srcdir@
|
||||||
|
@ -1,18 +1,18 @@
|
|||||||
.\" Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC")
|
.\" Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC")
|
||||||
.\"
|
.\"
|
||||||
.\" Permission to use, copy, modify, and distribute this software for any
|
.\" Permission to use, copy, modify, and/or distribute this software for any
|
||||||
.\" purpose with or without fee is hereby granted, provided that the above
|
.\" purpose with or without fee is hereby granted, provided that the above
|
||||||
.\" copyright notice and this permission notice appear in all copies.
|
.\" copyright notice and this permission notice appear in all copies.
|
||||||
.\"
|
.\"
|
||||||
.\" THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
.\" THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
||||||
.\" REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
.\" REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||||
.\" AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
.\" AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||||
.\" INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
.\" INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||||
.\" LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
.\" 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
|
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||||
.\" PERFORMANCE OF THIS SOFTWARE.
|
.\" PERFORMANCE OF THIS SOFTWARE.
|
||||||
.\"
|
.\"
|
||||||
.\" $Id: dnssec-revoke.8,v 1.3 2009/06/30 03:32:58 tbox Exp $
|
.\" $Id: dnssec-revoke.8,v 1.4 2009/07/01 23:47:36 tbox Exp $
|
||||||
.\"
|
.\"
|
||||||
.hy 0
|
.hy 0
|
||||||
.ad l
|
.ad l
|
||||||
|
@ -1,19 +1,20 @@
|
|||||||
<!--
|
<!--
|
||||||
- Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC")
|
- Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC")
|
||||||
-
|
-
|
||||||
- Permission to use, copy, modify, and distribute this software for any
|
- Permission to use, copy, modify, and/or distribute this software for any
|
||||||
- purpose with or without fee is hereby granted, provided that the above
|
- purpose with or without fee is hereby granted, provided that the above
|
||||||
- copyright notice and this permission notice appear in all copies.
|
- copyright notice and this permission notice appear in all copies.
|
||||||
-
|
-
|
||||||
- THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
- THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
||||||
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||||
- AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
- AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||||
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||||
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
- 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
|
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||||
- PERFORMANCE OF THIS SOFTWARE.
|
- PERFORMANCE OF THIS SOFTWARE.
|
||||||
-->
|
-->
|
||||||
<!-- $Id: dnssec-revoke.html,v 1.3 2009/06/30 03:32:58 tbox Exp $ -->
|
|
||||||
|
<!-- $Id: dnssec-revoke.html,v 1.4 2009/07/01 23:47:36 tbox Exp $ -->
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
|
@ -1,20 +1,20 @@
|
|||||||
<!--
|
<!--
|
||||||
- Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
|
- Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC")
|
||||||
- Copyright (C) 2000-2003 Internet Software Consortium.
|
-
|
||||||
-
|
- Permission to use, copy, modify, and/or distribute this software for any
|
||||||
- Permission to use, copy, modify, and distribute this software for any
|
|
||||||
- purpose with or without fee is hereby granted, provided that the above
|
- purpose with or without fee is hereby granted, provided that the above
|
||||||
- copyright notice and this permission notice appear in all copies.
|
- copyright notice and this permission notice appear in all copies.
|
||||||
-
|
-
|
||||||
- THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
- THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
||||||
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||||
- AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
- AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||||
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||||
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
- 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
|
- OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||||
- PERFORMANCE OF THIS SOFTWARE.
|
- PERFORMANCE OF THIS SOFTWARE.
|
||||||
-->
|
-->
|
||||||
<!-- $Id: man.dnssec-revoke.html,v 1.1 2009/06/30 03:20:26 each Exp $ -->
|
|
||||||
|
<!-- $Id: man.dnssec-revoke.html,v 1.2 2009/07/01 23:47:36 tbox Exp $ -->
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# Copyright (C) 2004-2008 Internet Systems Consortium, Inc. ("ISC")
|
# Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
|
||||||
# Copyright (C) 1998-2003 Internet Software Consortium.
|
# Copyright (C) 1998-2003 Internet Software Consortium.
|
||||||
#
|
#
|
||||||
# Permission to use, copy, modify, and/or distribute this software for any
|
# Permission to use, copy, modify, and/or distribute this software for any
|
||||||
@ -13,7 +13,7 @@
|
|||||||
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||||
# PERFORMANCE OF THIS SOFTWARE.
|
# PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
|
||||||
# $Id: Makefile.in,v 1.164 2009/06/30 02:52:32 each Exp $
|
# $Id: Makefile.in,v 1.165 2009/07/01 23:47:36 tbox Exp $
|
||||||
|
|
||||||
srcdir = @srcdir@
|
srcdir = @srcdir@
|
||||||
VPATH = @srcdir@
|
VPATH = @srcdir@
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
|
* Copyright (C) 2004, 2005, 2007, 2009 Internet Systems Consortium, Inc. ("ISC")
|
||||||
* Copyright (C) 2000, 2001 Internet Software Consortium.
|
* Copyright (C) 2000, 2001 Internet Software Consortium.
|
||||||
*
|
*
|
||||||
* Permission to use, copy, modify, and/or distribute this software for any
|
* Permission to use, copy, modify, and/or distribute this software for any
|
||||||
@ -15,7 +15,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: keytable.h,v 1.17 2009/06/30 02:52:32 each Exp $ */
|
/* $Id: keytable.h,v 1.18 2009/07/01 23:47:36 tbox Exp $ */
|
||||||
|
|
||||||
#ifndef DNS_KEYTABLE_H
|
#ifndef DNS_KEYTABLE_H
|
||||||
#define DNS_KEYTABLE_H 1
|
#define DNS_KEYTABLE_H 1
|
||||||
@ -170,7 +170,7 @@ dns_keytable_add(dns_keytable_t *keytable, isc_boolean_t managed,
|
|||||||
isc_result_t
|
isc_result_t
|
||||||
dns_keytable_marksecure(dns_keytable_t *keytable, dns_name_t *name);
|
dns_keytable_marksecure(dns_keytable_t *keytable, dns_name_t *name);
|
||||||
/*%<
|
/*%<
|
||||||
* Add a null key to 'keytable' for name 'name'. This marks the
|
* Add a null key to 'keytable' for name 'name'. This marks the
|
||||||
* name as a secure domain, but doesn't supply any key data to allow the
|
* name as a secure domain, but doesn't supply any key data to allow the
|
||||||
* domain to be validated. (Used when automated trust anchor management
|
* domain to be validated. (Used when automated trust anchor management
|
||||||
* has gotten broken by a zone misconfiguration; for exmaple, when the
|
* has gotten broken by a zone misconfiguration; for exmaple, when the
|
||||||
@ -200,7 +200,7 @@ isc_result_t
|
|||||||
dns_keytable_delete(dns_keytable_t *keytable, dns_name_t *keyname);
|
dns_keytable_delete(dns_keytable_t *keytable, dns_name_t *keyname);
|
||||||
/*%<
|
/*%<
|
||||||
* Delete node(s) from 'keytable' matching name 'keyname'
|
* Delete node(s) from 'keytable' matching name 'keyname'
|
||||||
*
|
*
|
||||||
* Requires:
|
* Requires:
|
||||||
*
|
*
|
||||||
*\li 'keytable' points to a valid keytable.
|
*\li 'keytable' points to a valid keytable.
|
||||||
@ -219,11 +219,11 @@ dns_keytable_deletekeynode(dns_keytable_t *keytable, dst_key_t *dstkey);
|
|||||||
/*%<
|
/*%<
|
||||||
* Delete node(s) from 'keytable' containing copies of the key pointed
|
* Delete node(s) from 'keytable' containing copies of the key pointed
|
||||||
* to by 'dstkey'
|
* to by 'dstkey'
|
||||||
*
|
*
|
||||||
* Requires:
|
* Requires:
|
||||||
*
|
*
|
||||||
*\li 'keytable' points to a valid keytable.
|
*\li 'keytable' points to a valid keytable.
|
||||||
*\li 'dstkey' is not NULL
|
*\li 'dstkey' is not NULL
|
||||||
*
|
*
|
||||||
* Returns:
|
* Returns:
|
||||||
*
|
*
|
||||||
@ -307,7 +307,7 @@ dns_keytable_findkeynode(dns_keytable_t *keytable, dns_name_t *name,
|
|||||||
|
|
||||||
isc_result_t
|
isc_result_t
|
||||||
dns_keytable_findnextkeynode(dns_keytable_t *keytable, dns_keynode_t *keynode,
|
dns_keytable_findnextkeynode(dns_keytable_t *keytable, dns_keynode_t *keynode,
|
||||||
dns_keynode_t **nextnodep);
|
dns_keynode_t **nextnodep);
|
||||||
/*%<
|
/*%<
|
||||||
* Search for the next key with the same properties as 'keynode' in
|
* Search for the next key with the same properties as 'keynode' in
|
||||||
* 'keytable' as found by dns_keytable_findkeynode().
|
* 'keytable' as found by dns_keytable_findkeynode().
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2004-2008 Internet Systems Consortium, Inc. ("ISC")
|
* Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
|
||||||
* Copyright (C) 1999-2002 Internet Software Consortium.
|
* Copyright (C) 1999-2002 Internet Software Consortium.
|
||||||
*
|
*
|
||||||
* Permission to use, copy, modify, and/or distribute this software for any
|
* Permission to use, copy, modify, and/or distribute this software for any
|
||||||
@ -15,7 +15,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: master.h,v 1.52 2009/06/30 02:52:32 each Exp $ */
|
/* $Id: master.h,v 1.53 2009/07/01 23:47:36 tbox Exp $ */
|
||||||
|
|
||||||
#ifndef DNS_MASTER_H
|
#ifndef DNS_MASTER_H
|
||||||
#define DNS_MASTER_H 1
|
#define DNS_MASTER_H 1
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
|
* Copyright (C) 2004-2007, 2009 Internet Systems Consortium, Inc. ("ISC")
|
||||||
* Copyright (C) 2000, 2001 Internet Software Consortium.
|
* Copyright (C) 2000, 2001 Internet Software Consortium.
|
||||||
*
|
*
|
||||||
* Permission to use, copy, modify, and/or distribute this software for any
|
* Permission to use, copy, modify, and/or distribute this software for any
|
||||||
@ -15,7 +15,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: soa.h,v 1.10 2009/06/30 02:52:32 each Exp $ */
|
/* $Id: soa.h,v 1.11 2009/07/01 23:47:36 tbox Exp $ */
|
||||||
|
|
||||||
#ifndef DNS_SOA_H
|
#ifndef DNS_SOA_H
|
||||||
#define DNS_SOA_H 1
|
#define DNS_SOA_H 1
|
||||||
@ -43,8 +43,8 @@ ISC_LANG_BEGINDECLS
|
|||||||
isc_result_t
|
isc_result_t
|
||||||
dns_soa_buildrdata(dns_name_t *origin, dns_name_t *contact,
|
dns_soa_buildrdata(dns_name_t *origin, dns_name_t *contact,
|
||||||
dns_rdataclass_t rdclass,
|
dns_rdataclass_t rdclass,
|
||||||
isc_uint32_t serial, isc_uint32_t refresh,
|
isc_uint32_t serial, isc_uint32_t refresh,
|
||||||
isc_uint32_t retry, isc_uint32_t expire,
|
isc_uint32_t retry, isc_uint32_t expire,
|
||||||
isc_uint32_t minimum, dns_rdata_t *rdata);
|
isc_uint32_t minimum, dns_rdata_t *rdata);
|
||||||
isc_uint32_t
|
isc_uint32_t
|
||||||
dns_soa_getserial(dns_rdata_t *rdata);
|
dns_soa_getserial(dns_rdata_t *rdata);
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: keydata.c,v 1.2 2009/06/30 02:52:32 each Exp $ */
|
/* $Id: keydata.c,v 1.3 2009/07/01 23:47:36 tbox Exp $ */
|
||||||
|
|
||||||
/*! \file */
|
/*! \file */
|
||||||
|
|
||||||
@ -76,7 +76,7 @@ dns_keydata_fromdnskey(dns_rdata_keydata_t *keydata,
|
|||||||
keydata->algorithm = dnskey->algorithm;
|
keydata->algorithm = dnskey->algorithm;
|
||||||
|
|
||||||
keydata->datalen = dnskey->datalen;
|
keydata->datalen = dnskey->datalen;
|
||||||
if (mctx == NULL)
|
if (mctx == NULL)
|
||||||
keydata->data = dnskey->data;
|
keydata->data = dnskey->data;
|
||||||
else {
|
else {
|
||||||
keydata->data = isc_mem_allocate(mctx, keydata->datalen);
|
keydata->data = isc_mem_allocate(mctx, keydata->datalen);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
|
* Copyright (C) 2004, 2005, 2007, 2009 Internet Systems Consortium, Inc. ("ISC")
|
||||||
* Copyright (C) 2000, 2001 Internet Software Consortium.
|
* Copyright (C) 2000, 2001 Internet Software Consortium.
|
||||||
*
|
*
|
||||||
* Permission to use, copy, modify, and/or distribute this software for any
|
* Permission to use, copy, modify, and/or distribute this software for any
|
||||||
@ -15,7 +15,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: keytable.c,v 1.35 2009/06/30 02:52:32 each Exp $ */
|
/* $Id: keytable.c,v 1.36 2009/07/01 23:47:36 tbox Exp $ */
|
||||||
|
|
||||||
/*! \file */
|
/*! \file */
|
||||||
|
|
||||||
@ -206,7 +206,7 @@ insert(dns_keytable_t *keytable, isc_boolean_t managed,
|
|||||||
isc_result_t
|
isc_result_t
|
||||||
dns_keytable_add(dns_keytable_t *keytable, isc_boolean_t managed,
|
dns_keytable_add(dns_keytable_t *keytable, isc_boolean_t managed,
|
||||||
dst_key_t **keyp)
|
dst_key_t **keyp)
|
||||||
{
|
{
|
||||||
REQUIRE(keyp != NULL && *keyp != NULL);
|
REQUIRE(keyp != NULL && *keyp != NULL);
|
||||||
return (insert(keytable, managed, dst_key_name(*keyp), keyp));
|
return (insert(keytable, managed, dst_key_name(*keyp), keyp));
|
||||||
}
|
}
|
||||||
@ -223,7 +223,7 @@ dns_keytable_delete(dns_keytable_t *keytable, dns_name_t *keyname) {
|
|||||||
|
|
||||||
REQUIRE(VALID_KEYTABLE(keytable));
|
REQUIRE(VALID_KEYTABLE(keytable));
|
||||||
REQUIRE(keyname != NULL);
|
REQUIRE(keyname != NULL);
|
||||||
|
|
||||||
RWLOCK(&keytable->rwlock, isc_rwlocktype_write);
|
RWLOCK(&keytable->rwlock, isc_rwlocktype_write);
|
||||||
result = dns_rbt_findnode(keytable->table, keyname, NULL, &node, NULL,
|
result = dns_rbt_findnode(keytable->table, keyname, NULL, &node, NULL,
|
||||||
DNS_RBTFIND_NOOPTIONS, NULL, NULL);
|
DNS_RBTFIND_NOOPTIONS, NULL, NULL);
|
||||||
@ -267,16 +267,16 @@ dns_keytable_deletekeynode(dns_keytable_t *keytable, dst_key_t *dstkey) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
knode = node->data;
|
knode = node->data;
|
||||||
if (knode->next == NULL &&
|
if (knode->next == NULL &&
|
||||||
(knode->key == NULL ||
|
(knode->key == NULL ||
|
||||||
dst_key_compare(knode->key, dstkey) == ISC_TRUE)) {
|
dst_key_compare(knode->key, dstkey) == ISC_TRUE)) {
|
||||||
result = dns_rbt_deletenode(keytable->table, node, ISC_FALSE);
|
result = dns_rbt_deletenode(keytable->table, node, ISC_FALSE);
|
||||||
goto finish;
|
goto finish;
|
||||||
}
|
}
|
||||||
|
|
||||||
kprev = (dns_keynode_t **) &node->data;
|
kprev = (dns_keynode_t **) &node->data;
|
||||||
while (knode != NULL) {
|
while (knode != NULL) {
|
||||||
if (dst_key_compare(knode->key, dstkey) == ISC_TRUE)
|
if (dst_key_compare(knode->key, dstkey) == ISC_TRUE)
|
||||||
break;
|
break;
|
||||||
kprev = &knode;
|
kprev = &knode;
|
||||||
knode = knode->next;
|
knode = knode->next;
|
||||||
@ -312,7 +312,7 @@ dns_keytable_find(dns_keytable_t *keytable, dns_name_t *keyname,
|
|||||||
REQUIRE(VALID_KEYTABLE(keytable));
|
REQUIRE(VALID_KEYTABLE(keytable));
|
||||||
REQUIRE(keyname != NULL);
|
REQUIRE(keyname != NULL);
|
||||||
REQUIRE(keynodep != NULL && *keynodep == NULL);
|
REQUIRE(keynodep != NULL && *keynodep == NULL);
|
||||||
|
|
||||||
RWLOCK(&keytable->rwlock, isc_rwlocktype_read);
|
RWLOCK(&keytable->rwlock, isc_rwlocktype_read);
|
||||||
result = dns_rbt_findnode(keytable->table, keyname, NULL, &node, NULL,
|
result = dns_rbt_findnode(keytable->table, keyname, NULL, &node, NULL,
|
||||||
DNS_RBTFIND_NOOPTIONS, NULL, NULL);
|
DNS_RBTFIND_NOOPTIONS, NULL, NULL);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
|
* Copyright (C) 2004, 2005, 2007, 2009 Internet Systems Consortium, Inc. ("ISC")
|
||||||
* Copyright (C) 2000, 2001 Internet Software Consortium.
|
* Copyright (C) 2000, 2001 Internet Software Consortium.
|
||||||
*
|
*
|
||||||
* Permission to use, copy, modify, and/or distribute this software for any
|
* Permission to use, copy, modify, and/or distribute this software for any
|
||||||
@ -15,7 +15,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: soa.c,v 1.9 2009/06/30 02:52:32 each Exp $ */
|
/* $Id: soa.c,v 1.10 2009/07/01 23:47:36 tbox Exp $ */
|
||||||
|
|
||||||
/*! \file */
|
/*! \file */
|
||||||
|
|
||||||
@ -65,8 +65,8 @@ soa_get(dns_rdata_t *rdata, int offset) {
|
|||||||
isc_result_t
|
isc_result_t
|
||||||
dns_soa_buildrdata(dns_name_t *origin, dns_name_t *contact,
|
dns_soa_buildrdata(dns_name_t *origin, dns_name_t *contact,
|
||||||
dns_rdataclass_t rdclass,
|
dns_rdataclass_t rdclass,
|
||||||
isc_uint32_t serial, isc_uint32_t refresh,
|
isc_uint32_t serial, isc_uint32_t refresh,
|
||||||
isc_uint32_t retry, isc_uint32_t expire,
|
isc_uint32_t retry, isc_uint32_t expire,
|
||||||
isc_uint32_t minimum, dns_rdata_t *rdata) {
|
isc_uint32_t minimum, dns_rdata_t *rdata) {
|
||||||
dns_rdata_soa_t soa;
|
dns_rdata_soa_t soa;
|
||||||
char soadata[DNS_NAME_FORMATSIZE];
|
char soadata[DNS_NAME_FORMATSIZE];
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
|
* Copyright (C) 2004, 2005, 2007, 2009 Internet Systems Consortium, Inc. ("ISC")
|
||||||
* Copyright (C) 1999-2003 Internet Software Consortium.
|
* Copyright (C) 1999-2003 Internet Software Consortium.
|
||||||
*
|
*
|
||||||
* Permission to use, copy, modify, and/or distribute this software for any
|
* Permission to use, copy, modify, and/or distribute this software for any
|
||||||
@ -15,7 +15,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: random.c,v 1.26 2009/06/30 02:52:32 each Exp $ */
|
/* $Id: random.c,v 1.27 2009/07/01 23:47:36 tbox Exp $ */
|
||||||
|
|
||||||
/*! \file */
|
/*! \file */
|
||||||
|
|
||||||
@ -43,7 +43,7 @@ initialize_rand(void)
|
|||||||
{
|
{
|
||||||
#ifndef HAVE_ARC4RANDOM
|
#ifndef HAVE_ARC4RANDOM
|
||||||
unsigned int pid = getpid();
|
unsigned int pid = getpid();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The low bits of pid generally change faster.
|
* The low bits of pid generally change faster.
|
||||||
* Xor them with the high bits of time which change slowly.
|
* Xor them with the high bits of time which change slowly.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user