From: jca Date: Tue, 27 Dec 2022 07:30:10 +0000 (+0000) Subject: Fix array bounds mismatch with clang 15 X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=bbdc31c0ac39a7762075c6b1b561402fd9d86a4a;p=openbsd Fix array bounds mismatch with clang 15 New warning -Warray-parameter is a bit overzealous. ok millert@ --- 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 @@ -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 *);