From: Matt Caswell Date: Mon, 24 Oct 2022 08:18:34 +0000 (+0100) Subject: Fix a compilation failure in bio_comp_test.c X-Git-Tag: openssl-3.2.0-alpha1~1843 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb2bbd53d49c510c2ae705d86e8fd2ed829cbd92;p=thirdparty%2Fopenssl.git 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) --- diff --git a/test/bio_comp_test.c b/test/bio_comp_test.c index 5dd13abd36c..75ae46adb6f 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: