From 49121b5c47d346c7c0458088932b004828e283d1 Mon Sep 17 00:00:00 2001 From: Hideki Miyazaki Date: Fri, 3 Nov 2023 11:45:33 +0900 Subject: [PATCH] move declaration to the top of func --- src/ssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ssl.c b/src/ssl.c index cff4aa05e..a27fe025f 100644 --- a/src/ssl.c +++ b/src/ssl.c @@ -15634,13 +15634,13 @@ int wolfSSL_set_compression(WOLFSSL* ssl) const unsigned char* in, long sz, int format) { + int verify; WOLFSSL_ENTER("wolfSSL_CTX_trust_peer_buffer"); /* sanity check on arguments */ if (sz < 0 || in == NULL || ctx == NULL) { return BAD_FUNC_ARG; } - int verify; verify = GET_VERIFY_SETTING_CTX(ctx); if (WOLFSSL_LOAD_VERIFY_DEFAULT_FLAGS &