From b5f80d33f4a3127ef91b7e10df8afd95f23e5f26 Mon Sep 17 00:00:00 2001 From: tb <> Date: Mon, 8 Jan 2024 09:31:09 +0000 Subject: const correct aesni_{128,256}_cbc_hmac_sha1_cipher --- src/lib/libcrypto/evp/e_aes_cbc_hmac_sha1.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/libcrypto/evp/e_aes_cbc_hmac_sha1.c b/src/lib/libcrypto/evp/e_aes_cbc_hmac_sha1.c index 09a73da748..4241436451 100644 --- a/src/lib/libcrypto/evp/e_aes_cbc_hmac_sha1.c +++ b/src/lib/libcrypto/evp/e_aes_cbc_hmac_sha1.c @@ -1,4 +1,4 @@ -/* $OpenBSD: e_aes_cbc_hmac_sha1.c,v 1.19 2023/07/07 19:37:53 beck Exp $ */ +/* $OpenBSD: e_aes_cbc_hmac_sha1.c,v 1.20 2024/01/08 09:31:09 tb Exp $ */ /* ==================================================================== * Copyright (c) 2011-2013 The OpenSSL Project. All rights reserved. * @@ -541,7 +541,7 @@ aesni_cbc_hmac_sha1_ctrl(EVP_CIPHER_CTX *ctx, int type, int arg, void *ptr) } } -static EVP_CIPHER aesni_128_cbc_hmac_sha1_cipher = { +static const EVP_CIPHER aesni_128_cbc_hmac_sha1_cipher = { #ifdef NID_aes_128_cbc_hmac_sha1 .nid = NID_aes_128_cbc_hmac_sha1, #else @@ -558,7 +558,7 @@ static EVP_CIPHER aesni_128_cbc_hmac_sha1_cipher = { .ctrl = aesni_cbc_hmac_sha1_ctrl }; -static EVP_CIPHER aesni_256_cbc_hmac_sha1_cipher = { +static const EVP_CIPHER aesni_256_cbc_hmac_sha1_cipher = { #ifdef NID_aes_256_cbc_hmac_sha1 .nid = NID_aes_256_cbc_hmac_sha1, #else -- cgit v1.2.3-55-g6feb