[git] GCRYPT - branch, master, updated. libgcrypt-1.5.0-11-g889a25e

by Werner Koch cvs at cvs.gnupg.org
Thu Sep 15 19:08:11 CEST 2011


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The GNU crypto library".

The branch, master has been updated
       via  889a25ed3333d1d7657b4b59ae21f6e8458f9027 (commit)
      from  e0fe4a5c862a1646066044dfe8e99264e2331752 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 889a25ed3333d1d7657b4b59ae21f6e8458f9027
Author: Werner Koch <wk at gnupg.org>
Date:   Thu Sep 15 18:24:23 2011 +0200

    Removed deprecated debug macros.

diff --git a/NEWS b/NEWS
index 495738a..85117d4 100644
--- a/NEWS
+++ b/NEWS
@@ -6,6 +6,9 @@ Noteworthy changes in version 1.6.0 (unreleased)
 
  * Removed the module register subsystem.
 
+ * The deprecated message digest debug macros have been removed.  Use
+   gcry_md_debug instead.
+
  * Interface changes relative to the 1.5.0 release:
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  gcry_ac_*              REMOVED.
@@ -20,6 +23,8 @@ Noteworthy changes in version 1.6.0 (unreleased)
  gcry_md_register       REMOVED.
  gcry_md_unregister     REMOVED.
  gcry_md_list           REMOVED.
+ gcry_md_start_debug    REMOVED (macro).
+ gcry_md_stop_debug     REMOVED (macro).
 
 
 Noteworthy changes in version 1.5.0 (2011-06-29)
diff --git a/doc/gcrypt.texi b/doc/gcrypt.texi
index 14f6fd1..b7817d9 100644
--- a/doc/gcrypt.texi
+++ b/doc/gcrypt.texi
@@ -3071,28 +3071,6 @@ because @code{gcry_md_close} implicitly stops debugging.
 @end deftypefun
 
 
-The following two deprecated macros are used for debugging by old code.
-They shopuld be replaced by @code{gcry_md_debug}.
-
- at deftypefun void gcry_md_start_debug (gcry_md_hd_t @var{h}, const char *@var{suffix})
-
-Enable debugging for the digest object with handle @var{h}.  This
-creates create files named @file{dbgmd-<n>.<string>} while doing the
-actual hashing.  @var{suffix} is the string part in the filename.  The
-number is a counter incremented for each new hashing.  The data in the
-file is the raw data as passed to @code{gcry_md_write} or
- at code{gcry_md_putc}.
- at end deftypefun
-
-
- at deftypefun void gcry_md_stop_debug (gcry_md_hd_t @var{h}, int @var{reserved})
-
-Stop debugging on handle @var{h}.  @var{reserved} should be specified as
-0.  This function is usually not required because @code{gcry_md_close}
-does implicitly stop debugging.
- at end deftypefun
-
-
 @c *******************************************************
 @c *******************  KDF  *****************************
 @c *******************************************************
diff --git a/src/ChangeLog b/src/ChangeLog
index 630aa4e..94525ef 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,11 @@
 2011-09-15  Werner Koch  <wk at g10code.com>
 
+	* gcrypt.h.in (enum gcry_thread_option): Remove deprecated enum.
+	(gcry_md_start_debug, gcry_md_stop_debug): Remove deprecated these
+	macros.
+
+2011-09-15  Werner Koch  <wk at g10code.com>
+
 	Removal of the gcry_ac and the module register interfaces.
 
 	* Makefile.am (include_HEADERS): Remove gcrypt-module.h.
diff --git a/src/gcrypt.h.in b/src/gcrypt.h.in
index f66642b..b34ff08 100644
--- a/src/gcrypt.h.in
+++ b/src/gcrypt.h.in
@@ -174,14 +174,6 @@ gcry_error_t gcry_err_make_from_errno (gcry_err_source_t source, int err);
 gcry_err_code_t gcry_error_from_errno (int err);
 
 
-/* This enum is deprecated; it is only declared for the sake of
-   complete API compatibility.  */
-enum gcry_thread_option
-  {
-    _GCRY_THREAD_OPTION_DUMMY
-  } _GCRY_GCC_ATTR_DEPRECATED;
-
-
 /* Constants defining the thread model to use.  Used with the OPTION
    field of the struct gcry_thread_cbs.  */
 #define GCRY_THREAD_OPTION_DEFAULT  0
@@ -1211,19 +1203,6 @@ void gcry_md_debug (gcry_md_hd_t hd, const char *suffix);
 #define gcry_md_get_asnoid(a,b,n) \
             gcry_md_algo_info((a), GCRYCTL_GET_ASNOID, (b), (n))
 
-/* Enable debugging for digest object A; i.e. create files named
-   dbgmd-<n>.<string> while hashing.  B is a string used as the suffix
-   for the filename.  This macro is deprecated, use gcry_md_debug. */
-#ifndef GCRYPT_NO_DEPRECATED
-#define gcry_md_start_debug(a,b) \
-            gcry_md_ctl( (a), GCRYCTL_START_DUMP, (b), 0 )
-
-/* Disable the debugging of A.  This macro is deprecated, use
-   gcry_md_debug.  */
-#define gcry_md_stop_debug(a,b) \
-            gcry_md_ctl( (a), GCRYCTL_STOP_DUMP, (b), 0 )
-#endif
-
 
 
 /******************************

-----------------------------------------------------------------------

Summary of changes:
 NEWS            |    5 +++++
 doc/gcrypt.texi |   22 ----------------------
 src/ChangeLog   |    6 ++++++
 src/gcrypt.h.in |   21 ---------------------
 4 files changed, 11 insertions(+), 43 deletions(-)


hooks/post-receive
-- 
The GNU crypto library
http://git.gnupg.org




More information about the Gnupg-commits mailing list