summaryrefslogtreecommitdiff
path: root/sys/lib
diff options
context:
space:
mode:
authorJeremie Courreges-Anglas <jca@cvs.openbsd.org>2022-12-27 07:30:11 +0000
committerJeremie Courreges-Anglas <jca@cvs.openbsd.org>2022-12-27 07:30:11 +0000
commit7dfaf90517292a1e508412979747eec65f474606 (patch)
treeae19010f2a5f87b76a5a2159edf582f092c761f1 /sys/lib
parent59c8961227680d4a2874fdbdafa481afcd231639 (diff)
Fix array bounds mismatch with clang 15
New warning -Warray-parameter is a bit overzealous. ok millert@
Diffstat (limited to 'sys/lib')
-rw-r--r--sys/lib/libsa/hmac_sha1.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/lib/libsa/hmac_sha1.h b/sys/lib/libsa/hmac_sha1.h
index 07873a9fe74..b57fb2b67b8 100644
--- 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 *);