[PATCH 1/2] Add missing prototype for _gcry_mac_selftest

Jussi Kivilinna jussi.kivilinna at iki.fi
Tue Dec 22 19:37:43 CET 2020


* src/cipher-proto.h (_gcry_hmac_selftest): Rename to...
(_gcry_mac_selftest): ... this.
--

It appears that '_gcry_hmac_selftest' has been renamed to
'_gcry_mac_selftest' but renaming prototype was missed.

Signed-off-by: Jussi Kivilinna <jussi.kivilinna at iki.fi>
---
 src/cipher-proto.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/cipher-proto.h b/src/cipher-proto.h
index d87559ed..ece5322d 100644
--- a/src/cipher-proto.h
+++ b/src/cipher-proto.h
@@ -267,8 +267,8 @@ gcry_error_t _gcry_md_selftest (int algo, int extended,
                                 selftest_report_func_t report);
 gcry_error_t _gcry_pk_selftest (int algo, int extended,
                                 selftest_report_func_t report);
-gcry_error_t _gcry_hmac_selftest (int algo, int extended,
-                                  selftest_report_func_t report);
+gcry_error_t _gcry_mac_selftest (int algo, int extended,
+                                 selftest_report_func_t report);
 
 gcry_error_t _gcry_random_selftest (selftest_report_func_t report);
 
-- 
2.27.0




More information about the Gcrypt-devel mailing list