artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a19b5bd
)
Fix array bounds mismatch with clang 15
author
jca
<jca@openbsd.org>
Tue, 27 Dec 2022 07:30:10 +0000
(07:30 +0000)
committer
jca
<jca@openbsd.org>
Tue, 27 Dec 2022 07:30:10 +0000
(07:30 +0000)
New warning -Warray-parameter is a bit overzealous.
ok millert@
sys/lib/libsa/hmac_sha1.h
patch
|
blob
|
history
diff --git
a/sys/lib/libsa/hmac_sha1.h
b/sys/lib/libsa/hmac_sha1.h
index
07873a9
..
b57fb2b
100644
(file)
--- a/
sys/lib/libsa/hmac_sha1.h
+++ b/
sys/lib/libsa/hmac_sha1.h
@@
-1,4
+1,4
@@
-/* $OpenBSD: hmac_sha1.h,v 1.
1 2012/10/09 12:36:50 jsing Exp $
*/
+/* $OpenBSD: hmac_sha1.h,v 1.
2 2022/12/27 07:30:10 jca Exp $
*/
/*-
* Copyright (c) 2008 Damien Bergamini <damien.bergamini@free.fr>
@@
-22,4
+22,4
@@
* HMAC-SHA-1 (from RFC 2202).
*/
void hmac_sha1(const u_int8_t *, size_t, const u_int8_t *,
- size_t, u_int8_t
[]
);
+ size_t, u_int8_t
*
);