mirror of
https://github.com/openssl/openssl.git
synced 2024-11-21 01:15:20 +08:00
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:
parent
2eb75291c1
commit
bb2bbd53d4
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user