[svn] gcry - r1382 - in trunk: . cipher doc m4 random src

svn author wk cvs at cvs.gnupg.org
Thu Jan 22 20:06:01 CET 2009


Author: wk
Date: 2009-01-22 20:06:01 +0100 (Thu, 22 Jan 2009)
New Revision: 1382

Modified:
   trunk/AUTHORS
   trunk/ChangeLog
   trunk/NEWS
   trunk/README
   trunk/THANKS
   trunk/cipher/ChangeLog
   trunk/cipher/ecc.c
   trunk/configure.ac
   trunk/doc/gcrypt.texi
   trunk/m4/ChangeLog
   trunk/m4/noexecstack.m4
   trunk/random/ChangeLog
   trunk/random/random.c
   trunk/src/ChangeLog
   trunk/src/fips.c
   trunk/src/gcrypt.h.in
   trunk/src/hmac256.c
Log:
Preparing


Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2009-01-22 15:12:28 UTC (rev 1381)
+++ trunk/ChangeLog	2009-01-22 19:06:01 UTC (rev 1382)
@@ -1,3 +1,9 @@
+2009-01-22  Werner Koch  <wk at g10code.com>
+
+	Release 1.4.4.
+	
+	* configure.ac: Bump LT version to C16/A5/R2.
+
 2008-10-30  Werner Koch  <wk at g10code.com>
 
 	* configure.ac: Remove option --enable-gcc-warnings.  Autodetect
@@ -1326,8 +1332,8 @@
 	* Makefile.am: Likewise
 
 	
- Copyright 1998, 1999, 2000, 2001, 2002, 2003,
-	   2004, 2006, 2007, 2008 Free Software Foundation, Inc.
+ Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2006,
+	   2007, 2008, 2009 Free Software Foundation, Inc.
 
  This file is free software; as a special exception the author gives
  unlimited permission to copy and/or distribute it, with or without

Modified: trunk/cipher/ChangeLog
===================================================================
--- trunk/cipher/ChangeLog	2009-01-22 15:12:28 UTC (rev 1381)
+++ trunk/cipher/ChangeLog	2009-01-22 19:06:01 UTC (rev 1382)
@@ -1,3 +1,7 @@
+2009-01-22  Werner Koch  <wk at g10code.com>
+
+	* ecc.c (compute_keygrip): Remove superfluous const.
+
 2009-01-06  Werner Koch  <wk at g10code.com>
 
 	* rmd160.c (oid_spec_rmd160): Add TeleTrust identifier.

Modified: trunk/m4/ChangeLog
===================================================================
--- trunk/m4/ChangeLog	2009-01-22 15:12:28 UTC (rev 1381)
+++ trunk/m4/ChangeLog	2009-01-22 19:06:01 UTC (rev 1382)
@@ -1,3 +1,8 @@
+2009-01-22  Werner Koch  <wk at g10code.com>
+
+	* noexecstack.m4: Replace non portable grep -q.  Reported by
+	Albert Chin.
+
 2007-02-22  Werner Koch  <wk at g10code.com>
 
 	* noexecstack.m4: Change default to enable it.

Modified: trunk/random/ChangeLog
===================================================================
--- trunk/random/ChangeLog	2009-01-22 15:12:28 UTC (rev 1381)
+++ trunk/random/ChangeLog	2009-01-22 19:06:01 UTC (rev 1382)
@@ -1,3 +1,8 @@
+2009-01-22  Werner Koch  <wk at g10code.com>
+
+	* random.c (_gcry_random_deinit_external_test): Do not return a
+	value.  Reported Albert Chin.
+
 2008-09-16  Werner Koch  <wk at g10code.com>
 
 	* random-fips.c (x931_aes_driver): No re-seeding with test contexts.

Modified: trunk/src/ChangeLog
===================================================================
--- trunk/src/ChangeLog	2009-01-22 15:12:28 UTC (rev 1381)
+++ trunk/src/ChangeLog	2009-01-22 19:06:01 UTC (rev 1382)
@@ -1,3 +1,9 @@
+2009-01-22  Werner Koch  <wk at g10code.com>
+
+	* fips.c (_gcry_initialize_fips_mode): Remove superfluous const
+	from static string.  Reported by Albert Chin.
+	* hmac256.c (selftest): Ditto and change to unsigned char.
+
 2008-12-10  Werner Koch  <wk at g10code.com>
 
 	* hmac256.c (finalize): Fix for big endian hosts.

Modified: trunk/AUTHORS
===================================================================
--- trunk/AUTHORS	2009-01-22 15:12:28 UTC (rev 1381)
+++ trunk/AUTHORS	2009-01-22 19:06:01 UTC (rev 1382)
@@ -1,4 +1,5 @@
 Library: Libgcrypt
+Homepage: http://www.gnu.org/software/libgcrypt/
 Maintainer: Werner Koch <wk at gnupg.org>
 Bug reports: <bug-libgcrypt at gnupg.org>  or http://bugs.gnupg.org
 Security related bug reports: <security at gnupg.org>
@@ -116,8 +117,8 @@
 security corporation.  See the file for details.
 
 
- Copyright 1998, 1999, 2000, 2001, 2002, 2003,
-           2006, 2007, 2008 Free Software Foundation, Inc.
+ Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2006,
+           2007, 2008, 2009 Free Software Foundation, Inc.
 
  This file is free software; as a special exception the author gives
  unlimited permission to copy and/or distribute it, with or without

Modified: trunk/NEWS
===================================================================
--- trunk/NEWS	2009-01-22 15:12:28 UTC (rev 1381)
+++ trunk/NEWS	2009-01-22 19:06:01 UTC (rev 1382)
@@ -1,4 +1,4 @@
-Noteworthy changes in version 1.4.4
+Noteworthy changes in version 1.4.4 (2009-01-22)
 ------------------------------------------------
 
  * Publish GCRY_MODULE_ID_USER and GCRY_MODULE_ID_USER_LAST constants.
@@ -12,7 +12,7 @@
    and DSA keys using the FIPS 186-2 algorithm.
 
  * The transient-key flag is now also supported for DSA key
-   generation.  DSA domain parameters may given as well.
+   generation.  DSA domain parameters may be given as well.
 
 
 Noteworthy changes in version 1.4.3 (2008-09-18)
@@ -585,7 +585,8 @@
     into into libgcrypt and GnuPG.
 
 
-Copyright 2001, 2002, 2003, 2004, 2007, 2008 Free Software Foundation, Inc.
+Copyright 2001, 2002, 2003, 2004, 2007, 2008,
+          2009 Free Software Foundation, Inc.
 
 This file is free software; as a special exception the author gives
 unlimited permission to copy and/or distribute it, with or without

Modified: trunk/README
===================================================================
--- trunk/README	2009-01-22 15:12:28 UTC (rev 1381)
+++ trunk/README	2009-01-22 19:06:01 UTC (rev 1382)
@@ -3,8 +3,8 @@
                             Version 1.4.4
  
 
-    Copyright 2000, 2002, 2003, 2004, 2007,
-              2008 Free Software Foundation, Inc.
+    Copyright 2000, 2002, 2003, 2004, 2007, 2008,
+              2009 Free Software Foundation, Inc.
 
     This file is free software; as a special exception the author gives
     unlimited permission to copy and/or distribute it, with or without

Modified: trunk/THANKS
===================================================================
--- trunk/THANKS	2009-01-22 15:12:28 UTC (rev 1381)
+++ trunk/THANKS	2009-01-22 19:06:01 UTC (rev 1382)
@@ -2,6 +2,7 @@
 helped in GnuPG and Libgcrypt development.  Please help us to keep it
 complete and free of errors.
 
+Albert Chin                china at thewrittenword com
 Allan Clark		   allanc at sco.com
 Anand Kumria		   wildfire at progsoc.uts.edu.au
 Andreas Metzler            ametzler at downhill.at.eu.org

Modified: trunk/cipher/ecc.c
===================================================================
--- trunk/cipher/ecc.c	2009-01-22 15:12:28 UTC (rev 1381)
+++ trunk/cipher/ecc.c	2009-01-22 19:06:01 UTC (rev 1382)
@@ -1208,9 +1208,9 @@
 static gpg_err_code_t
 compute_keygrip (gcry_md_hd_t md, gcry_sexp_t keyparam)
 {
+  static const char names[] = "pabgnq";
   gpg_err_code_t ec = 0;
   gcry_sexp_t l1;
-  static const char const names[] = "pabgnq";
   gcry_mpi_t values[6];
   int idx;
 

Modified: trunk/configure.ac
===================================================================
--- trunk/configure.ac	2009-01-22 15:12:28 UTC (rev 1381)
+++ trunk/configure.ac	2009-01-22 19:06:01 UTC (rev 1382)
@@ -1,6 +1,6 @@
 # Configure.ac script for Libgcrypt
 # Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2006,
-#               2007, 2008 Free Software Foundation, Inc.
+#               2007, 2008, 2009 Free Software Foundation, Inc.
 #
 # This file is part of Libgcrypt.
 #
@@ -27,7 +27,7 @@
 # Set my_issvn to "yes" for non-released code.  Remember to run an
 # "svn up" and "autogen.sh" right before creating a distribution.
 m4_define([my_version], [1.4.4])
-m4_define([my_issvn], [yes])
+m4_define([my_issvn], [no])
 
 m4_define([svn_revision], m4_esyscmd([printf "%d" $(svn info 2>/dev/null \
           | sed -n '/^Revision:/ s/[^0-9]//gp'|head -1)]))
@@ -40,7 +40,7 @@
 #   (No interfaces changed:                   REVISION++)
 LIBGCRYPT_LT_CURRENT=16
 LIBGCRYPT_LT_AGE=5
-LIBGCRYPT_LT_REVISION=1
+LIBGCRYPT_LT_REVISION=2
 
 
 # If the API is changed in an incompatible way: increment the next counter.

Modified: trunk/doc/gcrypt.texi
===================================================================
--- trunk/doc/gcrypt.texi	2009-01-22 15:12:28 UTC (rev 1381)
+++ trunk/doc/gcrypt.texi	2009-01-22 19:06:01 UTC (rev 1382)
@@ -2844,7 +2844,7 @@
 
 @strong{This interface has a few known problems; most noteworthy an
 inherent tendency to leak memory.  It might not be available in
-forthcoming versions Libgcrypt.}
+forthcoming versions of Libgcrypt.}
 
 
 @menu

Modified: trunk/m4/noexecstack.m4
===================================================================
--- trunk/m4/noexecstack.m4	2009-01-22 15:12:28 UTC (rev 1381)
+++ trunk/m4/noexecstack.m4	2009-01-22 19:06:01 UTC (rev 1382)
@@ -37,7 +37,7 @@
 EOF
   if AC_TRY_COMMAND([${CC} $CFLAGS $CPPFLAGS
                      -S -o conftest.s conftest.c >/dev/null]) \
-     && grep -q .note.GNU-stack conftest.s \
+     && grep .note.GNU-stack conftest.s >/dev/null \
      && AC_TRY_COMMAND([${CCAS} $CCASFLAGS $CPPFLAGS -Wa,--noexecstack
                        -c -o conftest.o conftest.s >/dev/null])
   then

Modified: trunk/random/random.c
===================================================================
--- trunk/random/random.c	2009-01-22 15:12:28 UTC (rev 1381)
+++ trunk/random/random.c	2009-01-22 19:06:01 UTC (rev 1382)
@@ -319,5 +319,5 @@
 _gcry_random_deinit_external_test (void *context)
 {
   if (fips_mode ())
-    return _gcry_rngfips_deinit_external_test (context);
+    _gcry_rngfips_deinit_external_test (context);
 }

Modified: trunk/src/fips.c
===================================================================
--- trunk/src/fips.c	2009-01-22 15:12:28 UTC (rev 1381)
+++ trunk/src/fips.c	2009-01-22 19:06:01 UTC (rev 1382)
@@ -136,9 +136,9 @@
 
   /* Checking based on /proc file properties.  */
   {
+    static const char procfname[] = "/proc/sys/crypto/fips_enabled";
     FILE *fp;
     int saved_errno;
-    static const char const procfname[] = "/proc/sys/crypto/fips_enabled";
 
     fp = fopen (procfname, "r");
     if (fp)

Modified: trunk/src/gcrypt.h.in
===================================================================
--- trunk/src/gcrypt.h.in	2009-01-22 15:12:28 UTC (rev 1381)
+++ trunk/src/gcrypt.h.in	2009-01-22 19:06:01 UTC (rev 1382)
@@ -1,6 +1,6 @@
 /* gcrypt.h -  GNU Cryptographic Library Interface              -*- c -*-
    Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2006
-                 2007, 2008  Free Software Foundation, Inc.
+                 2007, 2008, 2009  Free Software Foundation, Inc.
   
    This file is part of Libgcrypt.
   

Modified: trunk/src/hmac256.c
===================================================================
--- trunk/src/hmac256.c	2009-01-22 15:12:28 UTC (rev 1381)
+++ trunk/src/hmac256.c	2009-01-22 19:06:01 UTC (rev 1382)
@@ -522,7 +522,7 @@
     const char * const desc;
     const char * const data;
     const char * const key;
-    const char const expect[32];
+    const unsigned char expect[32];
   } tv[] =
     {
       { "data-28 key-4",




More information about the Gnupg-commits mailing list