projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
c-xvasprintf: Fix "implicit declaration of function" GCC warning.
[gnulib.git]
/
lib
/
hmac.h
diff --git
a/lib/hmac.h
b/lib/hmac.h
index
b1359aa
..
7826b6f
100644
(file)
--- a/
lib/hmac.h
+++ b/
lib/hmac.h
@@
-1,5
+1,5
@@
/* hmac.h -- hashed message authentication codes
/* hmac.h -- hashed message authentication codes
- Copyright (C) 2005 Free Software Foundation, Inc.
+ Copyright (C) 2005
, 2009-2012
Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-12,8
+12,7
@@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
+ along with this program; if not, see <http://www.gnu.org/licenses/>. */
/* Written by Simon Josefsson. */
/* Written by Simon Josefsson. */
@@
-28,7
+27,7
@@
RESBUF buffer. Return 0 on success. */
int
hmac_md5 (const void *key, size_t keylen,
RESBUF buffer. Return 0 on success. */
int
hmac_md5 (const void *key, size_t keylen,
- const void *buffer, size_t buflen, void *resbuf);
+
const void *buffer, size_t buflen, void *resbuf);
/* Compute Hashed Message Authentication Code with SHA-1, over BUFFER
data of BUFLEN bytes using the KEY of KEYLEN bytes, writing the
/* Compute Hashed Message Authentication Code with SHA-1, over BUFFER
data of BUFLEN bytes using the KEY of KEYLEN bytes, writing the
@@
-36,6
+35,6
@@
hmac_md5 (const void *key, size_t keylen,
success. */
int
hmac_sha1 (const void *key, size_t keylen,
success. */
int
hmac_sha1 (const void *key, size_t keylen,
- const void *in, size_t inlen, void *resbuf);
+
const void *in, size_t inlen, void *resbuf);
#endif /* HMAC_H */
#endif /* HMAC_H */