summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2022-05-17 11:13:11 +0900
committerNIIBE Yutaka <gniibe@fsij.org>2022-05-17 11:13:11 +0900
commit4019f1a66b15d2ef82eb059c432e6b09b2c69b21 (patch)
treef456e4a1a8f7892949537b4ff86fd900d259db7e /src
parentc0692324fe8b3806eefc5017767917dca9cd94d0 (diff)
downloadlibgcrypt-4019f1a66b15d2ef82eb059c432e6b09b2c69b21.tar.gz
Fix internal declaration of _gcry_kdf_compute.
* src/gcrypt-int.h (_gcry_kdf_compute): Return gcry_err_code_t. -- GnuPG-bug-id: 5980 Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to 'src')
-rw-r--r--src/gcrypt-int.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gcrypt-int.h b/src/gcrypt-int.h
index 08977d32..04953ffc 100644
--- a/src/gcrypt-int.h
+++ b/src/gcrypt-int.h
@@ -214,8 +214,8 @@ gpg_err_code_t _gcry_kdf_open (gcry_kdf_hd_t *hd, int algo, int subalgo,
const void *salt, size_t saltlen,
const void *key, size_t keylen,
const void *ad, size_t adlen);
-gcry_error_t _gcry_kdf_compute (gcry_kdf_hd_t h,
- const struct gcry_kdf_thread_ops *ops);
+gcry_err_code_t _gcry_kdf_compute (gcry_kdf_hd_t h,
+ const struct gcry_kdf_thread_ops *ops);
gpg_err_code_t _gcry_kdf_final (gcry_kdf_hd_t h, size_t resultlen, void *result);
void _gcry_kdf_close (gcry_kdf_hd_t h);