From: tb Date: Sun, 7 May 2023 14:38:04 +0000 (+0000) Subject: xts128 mode: avoid two -Wshadow warnings in the BIG_ENDIAN code path. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=789d58112bbc2bf3b5d686439d289c67d80627b1;p=openbsd xts128 mode: avoid two -Wshadow warnings in the BIG_ENDIAN code path. Found by, compile tested & ok bluhm. --- diff --git a/lib/libcrypto/modes/xts128.c b/lib/libcrypto/modes/xts128.c index dfd3bc434e0..71881227fb4 100644 --- a/lib/libcrypto/modes/xts128.c +++ b/lib/libcrypto/modes/xts128.c @@ -1,4 +1,4 @@ -/* $OpenBSD: xts128.c,v 1.9 2022/11/26 16:08:53 tb Exp $ */ +/* $OpenBSD: xts128.c,v 1.10 2023/05/07 14:38:04 tb Exp $ */ /* ==================================================================== * Copyright (c) 2011 The OpenSSL Project. All rights reserved. * @@ -120,9 +120,9 @@ int CRYPTO_xts128_encrypt(const XTS128_CONTEXT *ctx, const unsigned char iv[16], } if (enc) { for (i=0;i