src: hide unused hmac() prototype

It conflicts with NetBSD's in its libc.

Closes #6457
This commit is contained in:
Thomas Klausner
2023-01-24 16:36:23 +01:00
parent 036fe1afba
commit a6774403da

View File

@@ -296,6 +296,7 @@ extern int USHAHashSize(enum SHAversion whichSha);
extern int USHAHashSizeBits(enum SHAversion whichSha);
extern const char *USHAHashName(enum SHAversion whichSha);
#if 0
/*
* HMAC Keyed-Hashing for Message Authentication, RFC 2104,
* for all SHAs.
@@ -307,6 +308,7 @@ extern int hmac(SHAversion whichSha, /* which SHA algorithm to use */
const unsigned char *key, /* pointer to authentication key */
int key_len, /* length of authentication key */
uint8_t digest[USHAMaxHashSize]); /* caller digest to fill in */
#endif
/*
* HMAC Keyed-Hashing for Message Authentication, RFC 2104,