From 789d58112bbc2bf3b5d686439d289c67d80627b1 Mon Sep 17 00:00:00 2001 From: tb Date: Sun, 7 May 2023 14:38:04 +0000 Subject: [PATCH] xts128 mode: avoid two -Wshadow warnings in the BIG_ENDIAN code path. Found by, compile tested & ok bluhm. --- lib/libcrypto/modes/xts128.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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