* lib/arcfour.c: Assume config.h.
authorEric Blake <ebb9@byu.net>
Sun, 29 Oct 2006 21:52:55 +0000 (21:52 +0000)
committerEric Blake <ebb9@byu.net>
Sun, 29 Oct 2006 21:52:55 +0000 (21:52 +0000)
* lib/arctwo.c: Likewise.
* lib/base64.c: Likewise.
* lib/check-version.c: Likewise.
* lib/crc.c: Likewise.
* lib/des.c: Likewise.
* lib/gc-gnulib.c: Likewise.
* lib/gc-libgcrypt.c: Likewise.
* lib/gc-pbkdf2-sha1.c: Likewise.
* lib/getaddrinfo.c: Likewise.
* lib/getdelim.c: Likewise.
* lib/getline.c: Likewise.
* lib/hmac-md5.c: Likewise.
* lib/hmac-sha1.c: Likewise.
* lib/iconvme.c: Likewise.
* lib/md2.c: Likewise.
* lib/md4.c: Likewise.
* lib/memxor.c: Likewise.
* lib/read-file.c: Likewise.
* lib/readline.c: Likewise.
* lib/rijndael-alg-fst.c: Likewise.
* lib/rijndael-api-fst.c: Likewise.
* lib/xgetdomainname.c: Likewise.

24 files changed:
ChangeLog
lib/arcfour.c
lib/arctwo.c
lib/base64.c
lib/check-version.c
lib/crc.c
lib/des.c
lib/gc-gnulib.c
lib/gc-libgcrypt.c
lib/gc-pbkdf2-sha1.c
lib/getaddrinfo.c
lib/getdelim.c
lib/getline.c
lib/hmac-md5.c
lib/hmac-sha1.c
lib/iconvme.c
lib/md2.c
lib/md4.c
lib/memxor.c
lib/read-file.c
lib/readline.c
lib/rijndael-alg-fst.c
lib/rijndael-api-fst.c
lib/xgetdomainname.c

index f88f1d4e75f12d90b10f56f36259597b3cf570c2..a54c2f71b3c5911a5c01d7a265973dba346da226 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,29 @@
+2006-10-29  Eric Blake  <ebb9@byu.net>
+
+       * lib/arcfour.c: Assume config.h.
+       * lib/arctwo.c: Likewise.
+       * lib/base64.c: Likewise.
+       * lib/check-version.c: Likewise.
+       * lib/crc.c: Likewise.
+       * lib/des.c: Likewise.
+       * lib/gc-gnulib.c: Likewise.
+       * lib/gc-libgcrypt.c: Likewise.
+       * lib/gc-pbkdf2-sha1.c: Likewise.
+       * lib/getaddrinfo.c: Likewise.
+       * lib/getdelim.c: Likewise.
+       * lib/getline.c: Likewise.
+       * lib/hmac-md5.c: Likewise.
+       * lib/hmac-sha1.c: Likewise.
+       * lib/iconvme.c: Likewise.
+       * lib/md2.c: Likewise.
+       * lib/md4.c: Likewise.
+       * lib/memxor.c: Likewise.
+       * lib/read-file.c: Likewise.
+       * lib/readline.c: Likewise.
+       * lib/rijndael-alg-fst.c: Likewise.
+       * lib/rijndael-api-fst.c: Likewise.
+       * lib/xgetdomainname.c: Likewise.
+
 2006-10-28  Eric Blake  <ebb9@byu.net>
 
        * lib/xstrndup.c: Assume config.h.
index 97b61160e18b38434ae6d0f7f938284064b60c1f..95f8204f4ecb438ce4f52aa3995d8245966f8ad4 100644 (file)
@@ -1,5 +1,6 @@
 /* arcfour.c --- The arcfour stream cipher
- * Copyright (C) 2000, 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
+ * Copyright (C) 2000, 2001, 2002, 2003, 2005, 2006 Free Software
+ * Foundation, Inc.
  *
  * This file is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published
@@ -26,9 +27,7 @@
  *   ISBN 0-471-11709-9. Pages 397 ff.
  */
 
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
+#include <config.h>
 
 #include "arcfour.h"
 
index 2c37471a159679025ad82c58b7c210f5e5565f68..ccaa4b6c2885949f1e444c9f48d04de3a38fda49 100644 (file)
@@ -1,5 +1,5 @@
 /* arctwo.c --- The RC2 cipher as described in RFC 2268.
- * Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
+ * Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
  *
  * This file is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published
@@ -27,9 +27,7 @@
  * The implementation here is based on Peter Gutmann's RRC.2 paper.
  */
 
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
+#include <config.h>
 
 #include "arctwo.h"
 
index 3316d1c126dfbce0916589a3475f42b70c7b3eab..f237cd63b4f6c7d77cccf2e1cb4eb28b82510fbd 100644 (file)
@@ -41,9 +41,7 @@
  *
  */
 
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
+#include <config.h>
 
 /* Get prototype. */
 #include "base64.h"
index 74cee20c8dddef5e00d8bf2a4137ac64b28f22db..c4074ae8006ee1e20affa5228b27fce51e6c45ef 100644 (file)
@@ -20,9 +20,7 @@
    gcry_check_version from Werner Koch's Libgcrypt.  Paul Eggert
    suggested the use of strverscmp to simplify implementation. */
 
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
+#include <config.h>
 
 #include <stddef.h>
 #include <strverscmp.h>
index 6b7df8a7831a01cbcb0a9d01bf5ee56ecab9ffc6..fecfa71b545ceced4f070c86cde6efaa7959b4ff 100644 (file)
--- a/lib/crc.c
+++ b/lib/crc.c
@@ -1,5 +1,5 @@
 /* crc.c -- cyclic redundancy checks
-   Copyright (C) 2005 Free Software Foundation, Inc.
+   Copyright (C) 2005, 2006 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or
    modify it under the terms of the GNU General Public License as
@@ -18,9 +18,7 @@
 
 /* Written by Simon Josefsson.  */
 
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
+#include <config.h>
 
 #include "crc.h"
 
index 8dc74514e126ceb0635e0c1d2daf372fc3257126..3b171a7c11788fa19b8c8cc6ef819737ff1f7530 100644 (file)
--- a/lib/des.c
+++ b/lib/des.c
@@ -94,9 +94,7 @@
  */
 
 
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
+#include <config.h>
 
 #include "des.h"
 
@@ -420,7 +418,7 @@ des_is_weak_key (const char * key)
     right = (data[4] << 24) | (data[5] << 16) | (data[6] << 8) | data[7];
 
 #define WRITE_64BIT_DATA(data, left, right)                               \
-    data[0] = (left >> 24) &0xff; data[1] = (left >> 16) &0xff;           \
+    data[0] = (left >> 24) &0xff; data[1] = (left >> 16) &0xff;           \
     data[2] = (left >> 8) &0xff; data[3] = left &0xff;                    \
     data[4] = (right >> 24) &0xff; data[5] = (right >> 16) &0xff;         \
     data[6] = (right >> 8) &0xff; data[7] = right &0xff;
index 2ca6cc833ffd59d57e517418d1b458c76fc8af5b..adfa0ac23c0b78dd8b948438a5a914757c1b859d 100644 (file)
@@ -20,9 +20,7 @@
 
 /* Note: This file is only built if GC uses internal functions. */
 
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
+#include <config.h>
 
 /* Get prototype. */
 #include "gc.h"
index a9e6279a2a690b12f674ee3affa49ea806a17878..25cafd68ceda7cee0778c041808531a0a6c1d1a4 100644 (file)
@@ -20,9 +20,7 @@
 
 /* Note: This file is only built if GC uses Libgcrypt. */
 
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
+#include <config.h>
 
 /* Get prototype. */
 #include "gc.h"
index 0c105aab9334295850a0d32fd5e081aa86112e01..3c864c6d63751df4ec2422610ea7407969045a53 100644 (file)
@@ -1,5 +1,5 @@
 /* gc-pbkdf2-sha1.c --- Password-Based Key Derivation Function a'la PKCS#5
-   Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
+   Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -18,9 +18,7 @@
 /* Written by Simon Josefsson.  The comments in this file are taken
    from RFC 2898.  */
 
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
+#include <config.h>
 
 #include "gc.h"
 
index 333ad3b3d24cd6069f27c0d0fcab068d3a8dd4a6..358214afece55fd77c32a1fa74a9bcc9c70a69a8 100644 (file)
@@ -1,5 +1,6 @@
 /* Get address information (partial implementation).
-   Copyright (C) 1997, 2001, 2002, 2004, 2005, 2006 Free Software Foundation, Inc.
+   Copyright (C) 1997, 2001, 2002, 2004, 2005, 2006 Free Software
+   Foundation, Inc.
    Contributed by Simon Josefsson <simon@josefsson.org>.
 
    This program is free software; you can redistribute it and/or modify
@@ -16,9 +17,7 @@
    along with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
+#include <config.h>
 
 #include "getaddrinfo.h"
 
index a131b0c63272820cc58b44322c6f4d0190029e6d..e0b8a708ba7d4bb8b66e1f7629bc852e77451f19 100644 (file)
@@ -1,5 +1,5 @@
 /* getdelim.c --- Implementation of replacement getdelim function.
-   Copyright (C) 1994, 1996, 1997, 1998, 2001, 2003, 2005 Free
+   Copyright (C) 1994, 1996, 1997, 1998, 2001, 2003, 2005, 2006 Free
    Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or
@@ -19,9 +19,7 @@
 
 /* Ported from glibc by Simon Josefsson. */
 
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
+#include <config.h>
 
 #include "getdelim.h"
 
index ab054fba6b38499f0cc3f2033d4116974141ec2c..c8c9244a04c6a86501449bc04766ebac285c4df8 100644 (file)
@@ -1,5 +1,5 @@
 /* getline.c --- Implementation of replacement getline function.
-   Copyright (C) 2005 Free Software Foundation, Inc.
+   Copyright (C) 2005, 2006 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or
    modify it under the terms of the GNU General Public License as
@@ -18,9 +18,7 @@
 
 /* Written by Simon Josefsson. */
 
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
+#include <config.h>
 
 #include "getdelim.h"
 #include "getline.h"
index 816762b7982c229b2a39d73e728e14d62415159b..d4e807ef0d625fbdc29e512edfdf7134e85f7792 100644 (file)
@@ -1,5 +1,5 @@
 /* hmac-md5.c -- hashed message authentication codes
-   Copyright (C) 2005 Free Software Foundation, Inc.
+   Copyright (C) 2005, 2006 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -17,9 +17,7 @@
 
 /* Written by Simon Josefsson.  */
 
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
+#include <config.h>
 
 #include "hmac.h"
 
index f7a3fda43eae4884cb12da8dc4c2b1ff78022b11..c84545b9d27e32e0e4ff3c712b37c5e73136fd9d 100644 (file)
@@ -1,5 +1,5 @@
 /* hmac-sha1.c -- hashed message authentication codes
-   Copyright (C) 2005 Free Software Foundation, Inc.
+   Copyright (C) 2005, 2006 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -17,9 +17,7 @@
 
 /* Written by Simon Josefsson.  */
 
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
+#include <config.h>
 
 #include "hmac.h"
 
index 943380c03554bc90322eb9dd46a608df4e59e57c..555205ccdc9888eaffe452e0465dbc6b4319ab8b 100644 (file)
@@ -1,5 +1,5 @@
 /* Recode strings between character sets, using iconv.
-   Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
+   Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -15,9 +15,7 @@
    with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
+#include <config.h>
 
 /* Get prototype. */
 #include "iconvme.h"
index 787b76693b8f8ed41d56ed3a0ad6f0339de86c4d..c6154e4cfe39262dcfff8362df4a22e312be4dd4 100644 (file)
--- a/lib/md2.c
+++ b/lib/md2.c
@@ -1,6 +1,6 @@
 /* Functions to compute MD2 message digest of files or memory blocks.
    according to the definition of MD2 in RFC 1319 from April 1992.
-   Copyright (C) 1995,1996,1997,1999,2000,2001,2002,2003,2005
+   Copyright (C) 1995,1996,1997,1999,2000,2001,2002,2003,2005,2006
    Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify it
@@ -20,9 +20,7 @@
 /* Adapted by Simon Josefsson from public domain Libtomcrypt 1.06 by
    Tom St Denis. */
 
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
+#include <config.h>
 
 #include "md2.h"
 
index b70da395487ab54b3a19b036904a3db3739da512..789cce0d0d6073db5a9e2aaf8367c92900c878cc 100644 (file)
--- a/lib/md4.c
+++ b/lib/md4.c
@@ -20,9 +20,7 @@
 /* Adapted by Simon Josefsson from gnulib md5.? and Libgcrypt
    cipher/md4.c . */
 
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
+#include <config.h>
 
 #include "md4.h"
 
index 46411d06cda8e88e4615461277343a9025bb95f4..9502d3983fe697ed2882e52c4df05a1a5c1aa66e 100644 (file)
@@ -1,5 +1,5 @@
 /* memxor.c -- perform binary exclusive OR operation of two memory blocks.
-   Copyright (C) 2005 Free Software Foundation, Inc.
+   Copyright (C) 2005, 2006 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -18,9 +18,7 @@
 /* Written by Simon Josefsson.  The interface was inspired by memxor
    in Niels Möller's Nettle. */
 
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
+#include <config.h>
 
 #include "memxor.h"
 
index 4e2ebd560aead0ee5c8a5f0e9603b5efc9b5be43..1045b494ccb28c4158304124c0e52099c7319e68 100644 (file)
@@ -16,9 +16,7 @@
    along with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
+#include <config.h>
 
 #include "read-file.h"
 
index 52f002ed7bda8803634abef37e6af26fcf61966d..f93a115293e1af1cc557810f7ef04fa8dcc78dee 100644 (file)
@@ -16,9 +16,7 @@
    along with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
+#include <config.h>
 
 /* This module is intended to be used when the application only needs
    the readline interface.  If you need more functions from the
index 7f86c6c21a266de9fb9f918fb70931bb2d5a1577..dcd812c44e5c9a6655eb9e371ffcd8ba12f669c4 100644 (file)
@@ -1,5 +1,5 @@
 /* rijndael-alg-fst.c --- Rijndael cipher implementation.
- * Copyright (C) 2005 Free Software Foundation, Inc.
+ * Copyright (C) 2005, 2006 Free Software Foundation, Inc.
  *
  * This file is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published
@@ -25,9 +25,7 @@
  * http://www.iaik.tu-graz.ac.at/research/krypto/AES/old/~rijmen/rijndael/rijndael-fst-3.0.zip
  */
 
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
+#include <config.h>
 
 /**
  * rijndael-alg-fst.c
index e46047387e1a3d2e333d84ae103cbc136966f9f6..b55df797b55a0ba112ef4a14b458058c13917ef2 100644 (file)
@@ -25,9 +25,7 @@
  * http://www.iaik.tu-graz.ac.at/research/krypto/AES/old/~rijmen/rijndael/rijndael-fst-3.0.zip
  */
 
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
+#include <config.h>
 
 /**
  * rijndael-api-fst.c
index 9359231912d141bb6289b3a09a585b6d505a1326..13dde76d227a1d769040d010ba35ef3bca97e183 100644 (file)
@@ -1,6 +1,6 @@
 /* xgetdomainname.c -- Return the NIS domain name, without size limitations.
-   Copyright (C) 1992, 1996, 2000, 2001, 2003, 2004 Free Software Foundation,
-   Inc.
+   Copyright (C) 1992, 1996, 2000, 2001, 2003, 2004, 2006 Free Software
+   Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -18,9 +18,7 @@
 
 /* Based on xgethostname.c, written by Jim Meyering.  */
 
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
+#include <config.h>
 
 /* Specification.  */
 #include "xgetdomainname.h"