summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/libcrypto/evp/evp_enc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/evp/evp_enc.c b/src/lib/libcrypto/evp/evp_enc.c
index 47d062a6ba..0b58a6d9ee 100644
--- a/src/lib/libcrypto/evp/evp_enc.c
+++ b/src/lib/libcrypto/evp/evp_enc.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: evp_enc.c,v 1.62 2023/12/16 15:22:40 tb Exp $ */ 1/* $OpenBSD: evp_enc.c,v 1.63 2023/12/16 17:40:22 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -296,8 +296,8 @@ int
296EVP_EncryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl, 296EVP_EncryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl,
297 const unsigned char *in, int inl) 297 const unsigned char *in, int inl)
298{ 298{
299 int block_size = ctx->cipher->block_size; 299 const int block_size = ctx->cipher->block_size;
300 int block_mask = ctx->block_mask; 300 const int block_mask = ctx->block_mask;
301 int buf_offset = ctx->buf_len; 301 int buf_offset = ctx->buf_len;
302 int len = 0, total_len = 0; 302 int len = 0, total_len = 0;
303 303