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 <tomas@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/19480)
This commit is contained in:
Matt Caswell 2022-10-24 09:18:34 +01:00
parent 2eb75291c1
commit bb2bbd53d4
1 changed files with 2 additions and 2 deletions

View File

@ -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: