Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
a6774403
Commit
a6774403
authored
Jan 24, 2023
by
Thomas Klausner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
src: hide unused hmac() prototype
It conflicts with NetBSD's in its libc. Closes #6457
parent
036fe1af
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
src/util/hash/rfc6234/sha.h
+2
-0
No files found.
src/util/hash/rfc6234/sha.h
View file @
a6774403
...
...
@@ -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,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment