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 /src/gcrypt.h.in | |
parent | c65f9558f12ffa2810538ef616e71b4052dacb81 (diff) | |
download | libgcrypt-45c39340c9926c2c5801dbab7609687c41e9ff1f.tar.gz |
api: Deprecate gcry_md_info
Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'src/gcrypt.h.in')
-rw-r--r-- | src/gcrypt.h.in | 4 |
1 files changed, 2 insertions, 2 deletions
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, |