move declaration to the top of func

This commit is contained in:
Hideki Miyazaki
2023-11-03 11:45:33 +09:00
parent 8d9dc3d79f
commit 49121b5c47

View File

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