From 5d24bf0c5dbe1c6fa8d89bd93f22eacdcfc844e3 Mon Sep 17 00:00:00 2001 From: tb Date: Wed, 20 Dec 2023 14:11:41 +0000 Subject: [PATCH] Tweak a comment a bit --- lib/libcrypto/evp/evp_enc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/libcrypto/evp/evp_enc.c b/lib/libcrypto/evp/evp_enc.c index 3322e4a05d5..b993c1b82f8 100644 --- a/lib/libcrypto/evp/evp_enc.c +++ b/lib/libcrypto/evp/evp_enc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: evp_enc.c,v 1.69 2023/12/20 14:10:03 tb Exp $ */ +/* $OpenBSD: evp_enc.c,v 1.70 2023/12/20 14:11:41 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -450,8 +450,8 @@ EVP_DecryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl, if (ctx->final_used) { /* - * final_used is only set if partial_len is 0. Therefore the maximum - * length output from EVP_EncryptUpdate() is inl & ~block_mask. + * final_used is only set if partial_len is 0. Therefore the + * output from EVP_EncryptUpdate() is inl & ~block_mask. * Ensure (inl & ~block_mask) + block_size doesn't overflow. */ if ((inl & ~block_mask) > INT_MAX - block_size) { -- 2.20.1