diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libcrypto/cmac/cmac.c | 4 |
1 files 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 @@ | |||
1 | /* $OpenBSD: cmac.c,v 1.23 2024/03/02 09:30:21 tb Exp $ */ | 1 | /* $OpenBSD: cmac.c,v 1.24 2024/05/20 14:53:37 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project. | 3 | * project. |
4 | */ | 4 | */ |
@@ -182,7 +182,7 @@ int | |||
182 | CMAC_Init(CMAC_CTX *ctx, const void *key, size_t keylen, | 182 | CMAC_Init(CMAC_CTX *ctx, const void *key, size_t keylen, |
183 | const EVP_CIPHER *cipher, ENGINE *impl) | 183 | const EVP_CIPHER *cipher, ENGINE *impl) |
184 | { | 184 | { |
185 | static unsigned char zero_iv[EVP_MAX_BLOCK_LENGTH]; | 185 | static const unsigned char zero_iv[EVP_MAX_BLOCK_LENGTH]; |
186 | int block_size; | 186 | int block_size; |
187 | 187 | ||
188 | /* All zeros means restart */ | 188 | /* All zeros means restart */ |