From bb2bbd53d49c510c2ae705d86e8fd2ed829cbd92 Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Mon, 24 Oct 2022 09:18:34 +0100 Subject: [PATCH] Fix a compilation failure in bio_comp_test.c Compiling with clang, --strict-warnings and enable-zlib-dynamic resulted in a compilation failure. This fixes it. Reviewed-by: Tomas Mraz Reviewed-by: Dmitry Belyavskiy (Merged from https://github.com/openssl/openssl/pull/19480) --- test/bio_comp_test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/bio_comp_test.c b/test/bio_comp_test.c index 5dd13abd36..75ae46adb6 100644 --- a/test/bio_comp_test.c +++ b/test/bio_comp_test.c @@ -25,8 +25,8 @@ static int sizes[NUM_SIZES] = { 64, 512, 2048, 16 * 1024 }; /* using global buffers */ -unsigned char *original = NULL; -unsigned char *result = NULL; +static unsigned char *original = NULL; +static unsigned char *result = NULL; /* * For compression: