From 3be3f1f0f62004e6891d1b6f9320e574038582e2 Mon Sep 17 00:00:00 2001
From: tb <>
Date: Mon, 20 May 2024 14:53:37 +0000
Subject: cmac: zero_iv should be const

---
 src/lib/libcrypto/cmac/cmac.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/libcrypto/cmac/cmac.c b/src/lib/libcrypto/cmac/cmac.c
index 7ad3434836..5c917439a1 100644
--- a/src/lib/libcrypto/cmac/cmac.c
+++ b/src/lib/libcrypto/cmac/cmac.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmac.c,v 1.23 2024/03/02 09:30:21 tb Exp $ */
+/* $OpenBSD: cmac.c,v 1.24 2024/05/20 14:53:37 tb Exp $ */
 /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
  * project.
  */
@@ -182,7 +182,7 @@ int
 CMAC_Init(CMAC_CTX *ctx, const void *key, size_t keylen,
     const EVP_CIPHER *cipher, ENGINE *impl)
 {
-	static unsigned char zero_iv[EVP_MAX_BLOCK_LENGTH];
+	static const unsigned char zero_iv[EVP_MAX_BLOCK_LENGTH];
 	int block_size;
 
 	/* All zeros means restart */
-- 
cgit v1.2.3-55-g6feb