]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
update copyright notice
authorAutomatic Updater <source@isc.org>
Thu, 4 Jun 2009 02:56:14 +0000 (02:56 +0000)
committerAutomatic Updater <source@isc.org>
Thu, 4 Jun 2009 02:56:14 +0000 (02:56 +0000)
bin/dnssec/dnssec-signzone.c
bin/dnssec/dnssec-signzone.docbook
bin/dnssec/dnssectool.c
bin/tests/dnssec-signzone/run-test.sh
bin/tests/system/dnssec/ns1/sign.sh
bin/tests/system/dnssec/ns2/sign.sh
bin/tests/system/dnssec/ns3/sign.sh
lib/dns/dnssec.c
lib/dns/include/dns/dnssec.h
lib/dns/include/dns/keyvalues.h
lib/dns/nsec3.c

index 3cf84f7624333b11d973de211deb2641c2c3e8d4..432e940225ace455d2c416cbfe502a782dd5998f 100644 (file)
@@ -29,7 +29,7 @@
  * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: dnssec-signzone.c,v 1.209.12.4 2009/06/04 02:41:54 marka Exp $ */
+/* $Id: dnssec-signzone.c,v 1.209.12.5 2009/06/04 02:56:14 tbox Exp $ */
 
 /*! \file */
 
@@ -1302,7 +1302,7 @@ goodsig(dns_rdata_t *sigrdata, dns_name_t *name, dns_rdataset_t *keyrdataset,
        dns_rdata_rrsig_t sig;
        dst_key_t *dstkey = NULL;
        isc_result_t result;
-       
+
        dns_rdata_tostruct(sigrdata, &sig, NULL);
 
        for (result = dns_rdataset_first(keyrdataset);
@@ -1365,7 +1365,7 @@ verifyset(dns_rdataset_t *rdataset, dns_name_t *name, dns_dbnode_t *node,
                                bad_algorithms[i] = 1;
                return;
        }
-       
+
        memset(set_algorithms, 0, sizeof(set_algorithms));
        for (result = dns_rdataset_first(&sigrdataset);
             result == ISC_R_SUCCESS;
@@ -1511,7 +1511,7 @@ verifyzone(void) {
                else if ((dnskey.flags & DNS_KEYFLAG_REVOKE) != 0) {
                        if ((dnskey.flags & DNS_KEYFLAG_KSK) != 0 &&
                            !dns_dnssec_selfsigns(&rdata, gorigin, &rdataset,
-                                                  &sigrdataset, ISC_FALSE,
+                                                 &sigrdataset, ISC_FALSE,
                                                  mctx)) {
                                char namebuf[DNS_NAME_FORMATSIZE];
                                char buffer[1024];
@@ -1525,7 +1525,7 @@ verifyzone(void) {
                                fatal("revoked KSK is not self signed:\n"
                                      "%s DNSKEY %.*s", namebuf,
                                      (int)isc_buffer_usedlength(&buf), buffer);
-                       } 
+                       }
                        if ((dnskey.flags & DNS_KEYFLAG_KSK) != 0 &&
                             revoked[dnskey.algorithm] != 255)
                                revoked[dnskey.algorithm]++;
@@ -1560,7 +1560,7 @@ verifyzone(void) {
                dns_rdata_reset(&rdata);
        }
        dns_rdataset_disassociate(&sigrdataset);
-       
+
        if (!goodksk) {
 #ifdef ALLOW_KSKLESS_ZONES
                if (!goodzsk)
@@ -1584,7 +1584,7 @@ verifyzone(void) {
                }
        }
        fprintf(stderr, ".\n");
-       
+
        if (memcmp(ksk_algorithms, zsk_algorithms, sizeof(ksk_algorithms))) {
                for (i = 0; i < 256; i++) {
                        if (ksk_algorithms[i] == zsk_algorithms[i])
index 70f53fdf540cbd3564c5b682e20bd69ccd61e1b3..f0fcfe53f3cfe7f71e5745919d97f67991c99ed8 100644 (file)
@@ -2,7 +2,7 @@
                "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
               [<!ENTITY mdash "&#8212;">]>
 <!--
- - Copyright (C) 2004-2008  Internet Systems Consortium, Inc. ("ISC")
+ - Copyright (C) 2004-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
@@ -18,7 +18,7 @@
  - PERFORMANCE OF THIS SOFTWARE.
 -->
 
-<!-- $Id: dnssec-signzone.docbook,v 1.31.44.1 2009/06/04 02:41:54 marka Exp $ -->
+<!-- $Id: dnssec-signzone.docbook,v 1.31.44.2 2009/06/04 02:56:14 tbox Exp $ -->
 <refentry id="man.dnssec-signzone">
   <refentryinfo>
     <date>June 30, 2000</date>
@@ -42,6 +42,7 @@
       <year>2006</year>
       <year>2007</year>
       <year>2008</year>
+      <year>2009</year>
       <holder>Internet Systems Consortium, Inc. ("ISC")</holder>
     </copyright>
     <copyright>
index 7018827d556040398b17470149de5f5b127bb525..ffef8bd5098d919f4d2f78a7285fb084f6f1cf3b 100644 (file)
@@ -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, 2003  Internet Software Consortium.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: dnssectool.c,v 1.45.334.1 2009/06/04 02:41:54 marka Exp $ */
+/* $Id: dnssectool.c,v 1.45.334.2 2009/06/04 02:56:14 tbox Exp $ */
 
 /*! \file */
 
@@ -222,7 +222,7 @@ setup_entropy(isc_mem_t *mctx, const char *randomfile, isc_entropy_t **ectx) {
        int usekeyboard = ISC_ENTROPY_KEYBOARDMAYBE;
 
        REQUIRE(ectx != NULL);
-       
+
        if (*ectx == NULL) {
                result = isc_entropy_create(mctx, ectx);
                if (result != ISC_R_SUCCESS)
index 066811cd4366406feb11dc0f4e0a04d95d68dd9e..6f5e667c7087790c2f237589036feafab4104cb3 100644 (file)
@@ -1,4 +1,20 @@
 #!/bin/sh
+#
+# Copyright (C) 2009  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.
+
+# $Id: run-test.sh,v 1.2.2.2 2009/06/04 02:56:14 tbox Exp $
 
 
 sign="../../dnssec/dnssec-signzone -f signed.zone -o example.com."
index 3356dc45a23a7deb626d07c37e9543c71a917c63..110aed2c54c97964b4199914a34dc352ab2c1da0 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# Copyright (C) 2004, 2006-2008  Internet Systems Consortium, Inc. ("ISC")
+# Copyright (C) 2004, 2006-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
@@ -15,7 +15,7 @@
 # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 # PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: sign.sh,v 1.25.48.1 2009/06/04 02:41:54 marka Exp $
+# $Id: sign.sh,v 1.25.48.2 2009/06/04 02:56:14 tbox Exp $
 
 SYSTEMTESTTOP=../..
 . $SYSTEMTESTTOP/conf.sh
index 1bb4007c8106d14c055eb78f7561031aee1bac73..7f04cb3fad3a95a1c478388f740943a35264071d 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# Copyright (C) 2004, 2006-2008  Internet Systems Consortium, Inc. ("ISC")
+# Copyright (C) 2004, 2006-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
@@ -15,7 +15,7 @@
 # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 # PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: sign.sh,v 1.30.48.1 2009/06/04 02:41:54 marka Exp $
+# $Id: sign.sh,v 1.30.48.2 2009/06/04 02:56:14 tbox Exp $
 
 SYSTEMTESTTOP=../..
 . $SYSTEMTESTTOP/conf.sh
index 346daf02199e9edfb82e729d941386b061e1e330..897bd601a13ee0ae2d166fa67ed92aa5765e585a 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# Copyright (C) 2004, 2006-2008  Internet Systems Consortium, Inc. ("ISC")
+# Copyright (C) 2004, 2006-2009  Internet Systems Consortium, Inc. ("ISC")
 # Copyright (C) 2000-2002  Internet Software Consortium.
 #
 # Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
 # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 # PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: sign.sh,v 1.25.48.1 2009/06/04 02:41:54 marka Exp $
+# $Id: sign.sh,v 1.25.48.2 2009/06/04 02:56:14 tbox Exp $
 
 SYSTEMTESTTOP=../..
 . $SYSTEMTESTTOP/conf.sh
index 8afeadfff057d592b2f0324e2872a799f51e949d..47f2d59cecd1fd88f25378f307cc029358747503 100644 (file)
@@ -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-2003  Internet Software Consortium.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
@@ -16,7 +16,7 @@
  */
 
 /*
- * $Id: dnssec.c,v 1.93.12.1 2009/06/04 02:41:54 marka Exp $
+ * $Id: dnssec.c,v 1.93.12.2 2009/06/04 02:56:14 tbox Exp $
  */
 
 /*! \file */
@@ -905,14 +905,14 @@ dns_dnssec_selfsigns(dns_rdata_t *rdata, dns_name_t *name,
                     isc_boolean_t ignoretime, isc_mem_t *mctx)
 {
        dst_key_t *dstkey = NULL;
-        dns_keytag_t keytag;
-        dns_rdata_dnskey_t key;
-        dns_rdata_rrsig_t sig;
-        dns_rdata_t sigrdata = DNS_RDATA_INIT;
-        isc_result_t result;
-
-        INSIST(rdataset->type == dns_rdatatype_key ||
-               rdataset->type == dns_rdatatype_dnskey);
+       dns_keytag_t keytag;
+       dns_rdata_dnskey_t key;
+       dns_rdata_rrsig_t sig;
+       dns_rdata_t sigrdata = DNS_RDATA_INIT;
+       isc_result_t result;
+
+       INSIST(rdataset->type == dns_rdatatype_key ||
+              rdataset->type == dns_rdatatype_dnskey);
        if (rdataset->type == dns_rdatatype_key) {
                INSIST(sigrdataset->type == dns_rdatatype_sig);
                INSIST(sigrdataset->covers == dns_rdatatype_key);
@@ -947,7 +947,7 @@ dns_dnssec_selfsigns(dns_rdata_t *rdata, dns_name_t *name,
                                return (ISC_TRUE);
                        }
                }
-        }
+       }
        dst_key_free(&dstkey);
-        return (ISC_FALSE);
+       return (ISC_FALSE);
 }
index 5addf867ed08b7426e8a8beab80b9e66c79f5cfb..0b1c47dee72c989131d70ed6ebcdc5308a96d738 100644 (file)
@@ -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) 1999-2002  Internet Software Consortium.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: dnssec.h,v 1.32.332.1 2009/06/04 02:41:54 marka Exp $ */
+/* $Id: dnssec.h,v 1.32.332.2 2009/06/04 02:56:14 tbox Exp $ */
 
 #ifndef DNS_DNSSEC_H
 #define DNS_DNSSEC_H 1
@@ -180,8 +180,8 @@ dns_dnssec_verifymessage(isc_buffer_t *source, dns_message_t *msg,
 
 isc_boolean_t
 dns_dnssec_selfsigns(dns_rdata_t *rdata, dns_name_t *name,
-                     dns_rdataset_t *rdataset, dns_rdataset_t *sigrdataset,
-                     isc_boolean_t ignoretime, isc_mem_t *mctx);
+                    dns_rdataset_t *rdataset, dns_rdataset_t *sigrdataset,
+                    isc_boolean_t ignoretime, isc_mem_t *mctx);
 
 
 ISC_LANG_ENDDECLS
index a89cc74e63bdc6ecb298eb18bbf1368ead12c8c6..7f509e6ef13af58a53402fcf37bfcf64b9dca12f 100644 (file)
@@ -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-2001, 2003  Internet Software Consortium.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: keyvalues.h,v 1.23.48.1 2009/06/04 02:41:54 marka Exp $ */
+/* $Id: keyvalues.h,v 1.23.48.2 2009/06/04 02:56:14 tbox Exp $ */
 
 #ifndef DNS_KEYVALUES_H
 #define DNS_KEYVALUES_H 1
index 9d463eb7979b01bb64a02edee88647ae32578a84..f9b8cad21a70940c8307d4f6d2313e0e302f43bf 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2006, 2008  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2006, 2008, 2009  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
@@ -14,7 +14,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: nsec3.c,v 1.6.12.1 2009/06/04 01:47:41 marka Exp $ */
+/* $Id: nsec3.c,v 1.6.12.2 2009/06/04 02:56:14 tbox Exp $ */
 
 #include <config.h>
 
@@ -951,27 +951,27 @@ dns_nsec3_addnsec3s(dns_db_t *db, dns_dbversion_t *version,
  */
 static isc_result_t
 deleteit(dns_db_t *db, dns_dbversion_t *ver, dns_name_t *name,
-         isc_boolean_t *yesno)
+        isc_boolean_t *yesno)
 {
-        isc_result_t result;
-        dns_fixedname_t foundname;
-        dns_fixedname_init(&foundname);
-
-        result = dns_db_find(db, name, ver, dns_rdatatype_any,
-                             DNS_DBFIND_GLUEOK | DNS_DBFIND_NOWILD,
-                             (isc_stdtime_t) 0, NULL,
-                             dns_fixedname_name(&foundname),
-                             NULL, NULL);
+       isc_result_t result;
+       dns_fixedname_t foundname;
+       dns_fixedname_init(&foundname);
+
+       result = dns_db_find(db, name, ver, dns_rdatatype_any,
+                            DNS_DBFIND_GLUEOK | DNS_DBFIND_NOWILD,
+                            (isc_stdtime_t) 0, NULL,
+                            dns_fixedname_name(&foundname),
+                            NULL, NULL);
        if (result == DNS_R_EMPTYNAME || result == ISC_R_SUCCESS ||
            result ==  DNS_R_ZONECUT) {
-                *yesno = ISC_FALSE;
-                return (ISC_R_SUCCESS);
+               *yesno = ISC_FALSE;
+               return (ISC_R_SUCCESS);
+       }
+       if (result == DNS_R_GLUE || result == DNS_R_DNAME ||
+           result == DNS_R_DELEGATION || result == DNS_R_NXDOMAIN) {
+               *yesno = ISC_TRUE;
+               return (ISC_R_SUCCESS);
        }
-        if (result == DNS_R_GLUE || result == DNS_R_DNAME ||
-            result == DNS_R_DELEGATION || result == DNS_R_NXDOMAIN) {
-                *yesno = ISC_TRUE;
-                return (ISC_R_SUCCESS);
-        }
        /*
         * Silence compiler.
         */