diff options
| author | tb <> | 2024-01-08 09:31:09 +0000 |
|---|---|---|
| committer | tb <> | 2024-01-08 09:31:09 +0000 |
| commit | 6bb8197cad67776432dbdffe5e573b1d3c573286 (patch) | |
| tree | d64a87c9f95150c3d46ac08c6aa3dd6c43e4221a /src | |
| parent | 036909a66d1a7537198bde7d80cd2c5912776a45 (diff) | |
| download | openbsd-6bb8197cad67776432dbdffe5e573b1d3c573286.tar.gz openbsd-6bb8197cad67776432dbdffe5e573b1d3c573286.tar.bz2 openbsd-6bb8197cad67776432dbdffe5e573b1d3c573286.zip | |
const correct aesni_{128,256}_cbc_hmac_sha1_cipher
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libcrypto/evp/e_aes_cbc_hmac_sha1.c | 6 |
1 files 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 @@ | |||
| 1 | /* $OpenBSD: e_aes_cbc_hmac_sha1.c,v 1.19 2023/07/07 19:37:53 beck Exp $ */ | 1 | /* $OpenBSD: e_aes_cbc_hmac_sha1.c,v 1.20 2024/01/08 09:31:09 tb Exp $ */ |
| 2 | /* ==================================================================== | 2 | /* ==================================================================== |
| 3 | * Copyright (c) 2011-2013 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 2011-2013 The OpenSSL Project. All rights reserved. |
| 4 | * | 4 | * |
| @@ -541,7 +541,7 @@ aesni_cbc_hmac_sha1_ctrl(EVP_CIPHER_CTX *ctx, int type, int arg, void *ptr) | |||
| 541 | } | 541 | } |
| 542 | } | 542 | } |
| 543 | 543 | ||
| 544 | static EVP_CIPHER aesni_128_cbc_hmac_sha1_cipher = { | 544 | static const EVP_CIPHER aesni_128_cbc_hmac_sha1_cipher = { |
| 545 | #ifdef NID_aes_128_cbc_hmac_sha1 | 545 | #ifdef NID_aes_128_cbc_hmac_sha1 |
| 546 | .nid = NID_aes_128_cbc_hmac_sha1, | 546 | .nid = NID_aes_128_cbc_hmac_sha1, |
| 547 | #else | 547 | #else |
| @@ -558,7 +558,7 @@ static EVP_CIPHER aesni_128_cbc_hmac_sha1_cipher = { | |||
| 558 | .ctrl = aesni_cbc_hmac_sha1_ctrl | 558 | .ctrl = aesni_cbc_hmac_sha1_ctrl |
| 559 | }; | 559 | }; |
| 560 | 560 | ||
| 561 | static EVP_CIPHER aesni_256_cbc_hmac_sha1_cipher = { | 561 | static const EVP_CIPHER aesni_256_cbc_hmac_sha1_cipher = { |
| 562 | #ifdef NID_aes_256_cbc_hmac_sha1 | 562 | #ifdef NID_aes_256_cbc_hmac_sha1 |
| 563 | .nid = NID_aes_256_cbc_hmac_sha1, | 563 | .nid = NID_aes_256_cbc_hmac_sha1, |
| 564 | #else | 564 | #else |
