From bbdc31c0ac39a7762075c6b1b561402fd9d86a4a Mon Sep 17 00:00:00 2001 From: jca Date: Tue, 27 Dec 2022 07:30:10 +0000 Subject: [PATCH] Fix array bounds mismatch with clang 15 New warning -Warray-parameter is a bit overzealous. ok millert@ --- sys/lib/libsa/hmac_sha1.h | 4 ++-- 1 file 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 @@ -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 *); -- 2.20.1