]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
update copyright notice
authorAutomatic Updater <source@isc.org>
Thu, 22 Oct 2009 23:48:07 +0000 (23:48 +0000)
committerAutomatic Updater <source@isc.org>
Thu, 22 Oct 2009 23:48:07 +0000 (23:48 +0000)
bin/named/update.c
lib/dns/opensslrsa_link.c

index 45f698b1a49387ba93e8a1657e6273cec42c0ca7..db7ca032100e7fd059b50c440fc457f26148c1c0 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: update.c,v 1.164 2009/10/22 01:55:55 marka Exp $ */
+/* $Id: update.c,v 1.165 2009/10/22 23:48:07 tbox Exp $ */
 
 #include <config.h>
 
@@ -2338,7 +2338,7 @@ update_signatures(ns_client_t *client, dns_zone_t *zone, dns_db_t *db,
                         * case it should already exist if there is a complete
                         * NSEC chain and if there isn't a complete NSEC chain
                         * we don't want to add one as that would signal that
-                        * there is a complete NSEC chain. 
+                        * there is a complete NSEC chain.
                         */
                        if (!dns_name_equal(name, dns_db_origin(db))) {
                                CHECK(rrset_exists(db, newver, name,
index eb1e26087ca489b785e4396da05cd1bb34eb6fc0..71c3fa90a5be1efd14696af0c817ee5290b0e4fb 100644 (file)
@@ -17,7 +17,7 @@
 
 /*
  * Principal Author: Brian Wellington
- * $Id: opensslrsa_link.c,v 1.31 2009/10/22 02:21:30 each Exp $
+ * $Id: opensslrsa_link.c,v 1.32 2009/10/22 23:48:07 tbox Exp $
  */
 #ifdef OPENSSL
 #ifndef USE_EVP
@@ -134,56 +134,56 @@ static isc_result_t opensslrsa_todns(const dst_key_t *key, isc_buffer_t *data);
 #endif
 
 static int init256(EVP_MD_CTX *ctx)
-        { isc_sha256_init(ctx->md_data); return 1; }
+       { isc_sha256_init(ctx->md_data); return 1; }
 static int update256(EVP_MD_CTX *ctx,const void *data, unsigned long count)
-        { isc_sha256_update(ctx->md_data,data,count); return 1; }
+       { isc_sha256_update(ctx->md_data,data,count); return 1; }
 static int final256(EVP_MD_CTX *ctx,unsigned char *md)
-        { isc_sha256_final(md,ctx->md_data); return 1; }
+       { isc_sha256_final(md,ctx->md_data); return 1; }
 
 static const EVP_MD sha256_md=
-        {
-        NID_sha256,
-        NID_sha256WithRSAEncryption,
-        ISC_SHA256_DIGESTLENGTH,
-        0,
-        init256,
-        update256,
-        final256,
-        NULL,
-        NULL,
-        EVP_PKEY_RSA_method,
-        ISC_SHA256_BLOCK_LENGTH,
-        sizeof(EVP_MD *)+sizeof(isc_sha256_t),
-        };
+       {
+       NID_sha256,
+       NID_sha256WithRSAEncryption,
+       ISC_SHA256_DIGESTLENGTH,
+       0,
+       init256,
+       update256,
+       final256,
+       NULL,
+       NULL,
+       EVP_PKEY_RSA_method,
+       ISC_SHA256_BLOCK_LENGTH,
+       sizeof(EVP_MD *)+sizeof(isc_sha256_t),
+       };
 
 static const EVP_MD *EVP_sha256(void)
-        { return(&sha256_md); }
+       { return(&sha256_md); }
 
 static int init512(EVP_MD_CTX *ctx)
-        { isc_sha512_init(ctx->md_data); return 1; }
+       { isc_sha512_init(ctx->md_data); return 1; }
 static int update512(EVP_MD_CTX *ctx,const void *data,unsigned long count)
-        { isc_sha512_update(ctx->md_data,data,count); return 1; }
+       { isc_sha512_update(ctx->md_data,data,count); return 1; }
 static int final512(EVP_MD_CTX *ctx,unsigned char *md)
-        { isc_sha512_final(md,ctx->md_data); return 1; }
+       { isc_sha512_final(md,ctx->md_data); return 1; }
 
 static const EVP_MD sha512_md=
-        {
-        NID_sha512,
-        NID_sha512WithRSAEncryption,
-        ISC_SHA512_DIGESTLENGTH,
-        0,
-        init512,
-        update512,
-        final512,
-        NULL,
-        NULL,
-        EVP_PKEY_RSA_method,
-        ISC_SHA512_BLOCK_LENGTH,
-        sizeof(EVP_MD *)+sizeof(isc_sha512_t),
-        };
+       {
+       NID_sha512,
+       NID_sha512WithRSAEncryption,
+       ISC_SHA512_DIGESTLENGTH,
+       0,
+       init512,
+       update512,
+       final512,
+       NULL,
+       NULL,
+       EVP_PKEY_RSA_method,
+       ISC_SHA512_BLOCK_LENGTH,
+       sizeof(EVP_MD *)+sizeof(isc_sha512_t),
+       };
 
 static const EVP_MD *EVP_sha512(void)
-        { return(&sha512_md); }
+       { return(&sha512_md); }
 #endif
 
 static isc_result_t
@@ -257,7 +257,7 @@ opensslrsa_createctx(dst_key_t *key, dst_context_t *dctx) {
                {
                        isc_sha256_t *sha256ctx;
 
-                       sha256ctx = isc_mem_get(dctx->mctx, 
+                       sha256ctx = isc_mem_get(dctx->mctx,
                                                sizeof(isc_sha256_t));
                        if (sha256ctx == NULL)
                                return (ISC_R_NOMEMORY);
@@ -269,7 +269,7 @@ opensslrsa_createctx(dst_key_t *key, dst_context_t *dctx) {
                {
                        isc_sha512_t *sha512ctx;
 
-                       sha512ctx = isc_mem_get(dctx->mctx, 
+                       sha512ctx = isc_mem_get(dctx->mctx,
                                                sizeof(isc_sha512_t));
                        if (sha512ctx == NULL)
                                return (ISC_R_NOMEMORY);