From ff69a0423e251682cfc29b289cf16e744bf1022d Mon Sep 17 00:00:00 2001 From: Tinderbox User Date: Tue, 8 Nov 2016 23:57:34 +0000 Subject: [PATCH] update copyright notice / whitespace --- bin/tests/dst/t_dst.c | 2 +- lib/dns/dst_openssl.h | 2 +- lib/dns/dst_result.c | 2 +- lib/dns/include/dst/result.h | 2 +- lib/dns/masterdump.c | 2 +- lib/dns/openssl_link.c | 2 +- lib/dns/openssldh_link.c | 6 +++--- lib/dns/openssldsa_link.c | 2 +- lib/dns/opensslecdsa_link.c | 2 +- lib/dns/opensslrsa_link.c | 2 +- lib/dns/tests/nsec3_test.c | 2 +- lib/isc/hmacmd5.c | 2 +- lib/isc/hmacsha.c | 10 +++++----- lib/isc/include/isc/hmacmd5.h | 2 +- lib/isc/include/isc/hmacsha.h | 2 +- lib/isc/include/isc/md5.h | 2 +- lib/isc/include/isc/sha1.h | 2 +- lib/isc/include/isc/sha2.h | 2 +- lib/isc/md5.c | 12 ++++++------ lib/isc/sha1.c | 6 +++--- lib/isc/sha2.c | 2 +- 21 files changed, 34 insertions(+), 34 deletions(-) diff --git a/bin/tests/dst/t_dst.c b/bin/tests/dst/t_dst.c index 7af27c9f0e..09ded4c9b0 100644 --- a/bin/tests/dst/t_dst.c +++ b/bin/tests/dst/t_dst.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2004, 2005, 2007-2009, 2011-2014 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004, 2005, 2007-2009, 2011-2014, 2016 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 1999-2001 Internet Software Consortium. * * Permission to use, copy, modify, and/or distribute this software for any diff --git a/lib/dns/dst_openssl.h b/lib/dns/dst_openssl.h index 7ba6055d39..7333f51449 100644 --- a/lib/dns/dst_openssl.h +++ b/lib/dns/dst_openssl.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2004, 2005, 2007-2009, 2011, 2012, 2015 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004, 2005, 2007-2009, 2011, 2012, 2015, 2016 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 2002 Internet Software Consortium. * * Permission to use, copy, modify, and/or distribute this software for any diff --git a/lib/dns/dst_result.c b/lib/dns/dst_result.c index 078ea38391..3a103d888c 100644 --- a/lib/dns/dst_result.c +++ b/lib/dns/dst_result.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2004, 2005, 2007, 2008, 2012, 2013 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004, 2005, 2007, 2008, 2012, 2013, 2016 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 1999-2001 Internet Software Consortium. * * Permission to use, copy, modify, and/or distribute this software for any diff --git a/lib/dns/include/dst/result.h b/lib/dns/include/dst/result.h index cf9428f6bd..6b121fdc18 100644 --- a/lib/dns/include/dst/result.h +++ b/lib/dns/include/dst/result.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2004-2008, 2012 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004-2008, 2012, 2016 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 1999-2001 Internet Software Consortium. * * Permission to use, copy, modify, and/or distribute this software for any diff --git a/lib/dns/masterdump.c b/lib/dns/masterdump.c index 5edc7e0f4b..cfd2d13d7d 100644 --- a/lib/dns/masterdump.c +++ b/lib/dns/masterdump.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2004-2009, 2011-2015 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004-2009, 2011-2016 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 1999-2003 Internet Software Consortium. * * Permission to use, copy, modify, and/or distribute this software for any diff --git a/lib/dns/openssl_link.c b/lib/dns/openssl_link.c index d18b29bd40..0e7009fea9 100644 --- a/lib/dns/openssl_link.c +++ b/lib/dns/openssl_link.c @@ -132,7 +132,7 @@ id_callback(void) { #if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) #define FLARG_PASS , __FILE__, __LINE__ -#define FLARG +#define FLARG #define FILELINE #else #define FLARG , const char *file, int line diff --git a/lib/dns/openssldh_link.c b/lib/dns/openssldh_link.c index 01e3628fdf..cd166fb6f5 100644 --- a/lib/dns/openssldh_link.c +++ b/lib/dns/openssldh_link.c @@ -1,5 +1,5 @@ /* - * Portions Copyright (C) 2004-2009, 2011-2015 Internet Systems Consortium, Inc. ("ISC") + * Portions Copyright (C) 2004-2009, 2011-2016 Internet Systems Consortium, Inc. ("ISC") * Portions Copyright (C) 1999-2002 Internet Software Consortium. * * Permission to use, copy, modify, and/or distribute this software for any @@ -78,7 +78,7 @@ static BIGNUM *bn2, *bn768, *bn1024, *bn1536; * DH_get0_key, DH_set0_key, DH_get0_pqg and DH_set0_pqg * are from OpenSSL 1.1.0. */ -static void +static void DH_get0_key(const DH *dh, const BIGNUM **pub_key, const BIGNUM **priv_key) { if (pub_key != NULL) *pub_key = dh->pub_key; @@ -654,7 +654,7 @@ openssldh_parse(dst_key_t *key, isc_lex_t *lexer, dst_key_t *pub) { BIGNUM *bn; bn = BN_bin2bn(priv.elements[i].data, priv.elements[i].length, NULL); - if (bn == NULL) + if (bn == NULL) DST_RET(ISC_R_NOMEMORY); switch (priv.elements[i].tag) { diff --git a/lib/dns/openssldsa_link.c b/lib/dns/openssldsa_link.c index 1c66e7841c..db1bd0659b 100644 --- a/lib/dns/openssldsa_link.c +++ b/lib/dns/openssldsa_link.c @@ -1,5 +1,5 @@ /* - * Portions Copyright (C) 2004-2009, 2011-2013, 2015 Internet Systems Consortium, Inc. ("ISC") + * Portions Copyright (C) 2004-2009, 2011-2013, 2015, 2016 Internet Systems Consortium, Inc. ("ISC") * Portions Copyright (C) 1999-2002 Internet Software Consortium. * * Permission to use, copy, modify, and/or distribute this software for any diff --git a/lib/dns/opensslecdsa_link.c b/lib/dns/opensslecdsa_link.c index d2199d81ac..d95f70b271 100644 --- a/lib/dns/opensslecdsa_link.c +++ b/lib/dns/opensslecdsa_link.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2012-2015 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2012-2016 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 diff --git a/lib/dns/opensslrsa_link.c b/lib/dns/opensslrsa_link.c index ad35e4a1ad..3736db4e77 100644 --- a/lib/dns/opensslrsa_link.c +++ b/lib/dns/opensslrsa_link.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2004-2009, 2011-2015 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004-2009, 2011-2016 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 2000-2003 Internet Software Consortium. * * Permission to use, copy, modify, and/or distribute this software for any diff --git a/lib/dns/tests/nsec3_test.c b/lib/dns/tests/nsec3_test.c index 5eeeeb1be4..156a152702 100644 --- a/lib/dns/tests/nsec3_test.c +++ b/lib/dns/tests/nsec3_test.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2012, 2014 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2012, 2014, 2016 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 diff --git a/lib/isc/hmacmd5.c b/lib/isc/hmacmd5.c index 0775c84b49..317cab06d2 100644 --- a/lib/isc/hmacmd5.c +++ b/lib/isc/hmacmd5.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2004-2007, 2009, 2013-2015 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004-2007, 2009, 2013-2016 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 2000, 2001 Internet Software Consortium. * * Permission to use, copy, modify, and/or distribute this software for any diff --git a/lib/isc/hmacsha.c b/lib/isc/hmacsha.c index 3618bc2243..c1e52201e3 100644 --- a/lib/isc/hmacsha.c +++ b/lib/isc/hmacsha.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2005-2007, 2009, 2011-2015 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2005-2007, 2009, 2011-2016 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 @@ -44,10 +44,10 @@ void isc_hmacsha1_init(isc_hmacsha1_t *ctx, const unsigned char *key, unsigned int len) { - ctx->ctx = HMAC_CTX_new(); - RUNTIME_CHECK(ctx->ctx != NULL); - RUNTIME_CHECK(HMAC_Init_ex(ctx->ctx, (const void *) key, - (int) len, EVP_sha1(), NULL) == 1); + ctx->ctx = HMAC_CTX_new(); + RUNTIME_CHECK(ctx->ctx != NULL); + RUNTIME_CHECK(HMAC_Init_ex(ctx->ctx, (const void *) key, + (int) len, EVP_sha1(), NULL) == 1); } void diff --git a/lib/isc/include/isc/hmacmd5.h b/lib/isc/include/isc/hmacmd5.h index e21f5a0155..44767590b3 100644 --- a/lib/isc/include/isc/hmacmd5.h +++ b/lib/isc/include/isc/hmacmd5.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2004-2007, 2009 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004-2007, 2009, 2016 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 2000, 2001 Internet Software Consortium. * * Permission to use, copy, modify, and/or distribute this software for any diff --git a/lib/isc/include/isc/hmacsha.h b/lib/isc/include/isc/hmacsha.h index c725722fef..98e4af9b5f 100644 --- a/lib/isc/include/isc/hmacsha.h +++ b/lib/isc/include/isc/hmacsha.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2005-2007, 2009 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2005-2007, 2009, 2016 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 diff --git a/lib/isc/include/isc/md5.h b/lib/isc/include/isc/md5.h index 8173e3856b..0b7b347aa1 100644 --- a/lib/isc/include/isc/md5.h +++ b/lib/isc/include/isc/md5.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2004-2007, 2009, 2010 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004-2007, 2009, 2010, 2016 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 2000, 2001 Internet Software Consortium. * * Permission to use, copy, modify, and/or distribute this software for any diff --git a/lib/isc/include/isc/sha1.h b/lib/isc/include/isc/sha1.h index f7b4e97be6..74ef8e5b86 100644 --- a/lib/isc/include/isc/sha1.h +++ b/lib/isc/include/isc/sha1.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2004-2007, 2009 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004-2007, 2009, 2016 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 2000, 2001 Internet Software Consortium. * * Permission to use, copy, modify, and/or distribute this software for any diff --git a/lib/isc/include/isc/sha2.h b/lib/isc/include/isc/sha2.h index dbf39bb097..b68f291a58 100644 --- a/lib/isc/include/isc/sha2.h +++ b/lib/isc/include/isc/sha2.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2005-2007, 2009 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2005-2007, 2009, 2016 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 diff --git a/lib/isc/md5.c b/lib/isc/md5.c index 93b47a618a..a6b827abc8 100644 --- a/lib/isc/md5.c +++ b/lib/isc/md5.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2004, 2005, 2007, 2009, 2014, 2015 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004, 2005, 2007, 2009, 2014-2016 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 2000, 2001 Internet Software Consortium. * * Permission to use, copy, modify, and/or distribute this software for any @@ -51,15 +51,15 @@ void isc_md5_init(isc_md5_t *ctx) { - ctx->ctx = EVP_MD_CTX_new(); - RUNTIME_CHECK(ctx->ctx != NULL); - RUNTIME_CHECK(EVP_DigestInit(ctx->ctx, EVP_md5()) == 1); + ctx->ctx = EVP_MD_CTX_new(); + RUNTIME_CHECK(ctx->ctx != NULL); + RUNTIME_CHECK(EVP_DigestInit(ctx->ctx, EVP_md5()) == 1); } void isc_md5_invalidate(isc_md5_t *ctx) { - EVP_MD_CTX_free(ctx->ctx); - ctx->ctx = NULL; + EVP_MD_CTX_free(ctx->ctx); + ctx->ctx = NULL; } void diff --git a/lib/isc/sha1.c b/lib/isc/sha1.c index c7fb801797..f576cb1145 100644 --- a/lib/isc/sha1.c +++ b/lib/isc/sha1.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2004, 2005, 2007, 2009, 2011, 2012, 2014 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004, 2005, 2007, 2009, 2011, 2012, 2014, 2016 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 @@ -62,8 +62,8 @@ isc_sha1_init(isc_sha1_t *context) void isc_sha1_invalidate(isc_sha1_t *context) { - EVP_MD_CTX_free(context->ctx); - context->ctx = NULL; + EVP_MD_CTX_free(context->ctx); + context->ctx = NULL; } void diff --git a/lib/isc/sha2.c b/lib/isc/sha2.c index c0aaf61e74..039b96a13b 100644 --- a/lib/isc/sha2.c +++ b/lib/isc/sha2.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2005-2007, 2009, 2011, 2012, 2014 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2005-2007, 2009, 2011, 2012, 2014, 2016 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