diff options
author | Werner Koch <wk@gnupg.org> | 2017-05-31 13:00:05 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2017-05-31 13:00:05 +0200 |
commit | 45c39340c9926c2c5801dbab7609687c41e9ff1f (patch) | |
tree | e08ce74ac41405666598faa143e2941888af597b | |
parent | c65f9558f12ffa2810538ef616e71b4052dacb81 (diff) | |
download | libgcrypt-45c39340c9926c2c5801dbab7609687c41e9ff1f.tar.gz |
api: Deprecate gcry_md_info
Signed-off-by: Werner Koch <wk@gnupg.org>
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | src/gcrypt.h.in | 4 |
2 files changed, 3 insertions, 2 deletions
@@ -62,6 +62,7 @@ Noteworthy changes in version 1.8.0 (unreleased) [C21/A1/R_] * Interface changes relative to the 1.7.0 release: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ GCRYCTL_REINIT_SYSCALL_CLAMP NEW macro. + gcry_md_info DEPRECATED. * Release dates of 1.7.x versions: diff --git a/src/gcrypt.h.in b/src/gcrypt.h.in index 8e499672..210ea2fd 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, |