[git] GCRYPT - branch, master, updated. libgcrypt-1.7.3-89-g45c3934

by Werner Koch cvs at cvs.gnupg.org
Wed May 31 13:03:52 CEST 2017

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  45c39340c9926c2c5801dbab7609687c41e9ff1f (commit)
      from  c65f9558f12ffa2810538ef616e71b4052dacb81 (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 45c39340c9926c2c5801dbab7609687c41e9ff1f
Author: Werner Koch <wk at gnupg.org>
Date:   Wed May 31 13:00:05 2017 +0200

    api: Deprecate gcry_md_info
    Signed-off-by: Werner Koch <wk at gnupg.org>

diff --git a/NEWS b/NEWS
index 995aac3..48ddeb3 100644
--- a/NEWS
+++ b/NEWS
@@ -62,6 +62,7 @@ Noteworthy changes in version 1.8.0 (unreleased)  [C21/A1/R_]
  * Interface changes relative to the 1.7.0 release:
+   gcry_md_info                    DEPRECATED.
  * Release dates of 1.7.x versions:
diff --git a/src/gcrypt.h.in b/src/gcrypt.h.in
index 8e49967..210ea2f 100644
--- a/src/gcrypt.h.in
+++ b/src/gcrypt.h.in
@@ -1333,9 +1333,9 @@ int gcry_md_is_enabled (gcry_md_hd_t a, int algo);
 /* Return true if the digest object A is allocated in "secure" memory. */
 int gcry_md_is_secure (gcry_md_hd_t a);
-/* Retrieve various information about the object H.  */
+/* Deprecated: Use gcry_md_is_enabled or gcry_md_is_secure.  */
 gcry_error_t gcry_md_info (gcry_md_hd_t h, int what, void *buffer,
-                          size_t *nbytes);
+                          size_t *nbytes) _GCRY_ATTR_INTERNAL;
 /* Retrieve various information about the algorithm ALGO.  */
 gcry_error_t gcry_md_algo_info (int algo, int what, void *buffer,


Summary of changes:
 NEWS            | 1 +
 src/gcrypt.h.in | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

The GNU crypto library

Gnupg-commits mailing list
Gnupg-commits at gnupg.org

More information about the Gcrypt-devel mailing list