src/internal.c: fix -Wdeclaration-after-statement in ProcessCSR_ex().

pull/8586/head
Daniel Pouzzner 2025-03-22 23:51:59 -05:00
parent 29a0992ed5
commit 0cea9c09f7
1 changed files with 2 additions and 2 deletions

View File

@ -13814,8 +13814,6 @@ static int ProcessCSR_ex(WOLFSSL* ssl, byte* input, word32* inOutIdx,
#if defined(HAVE_CERTIFICATE_STATUS_REQUEST)
TLSX* ext = TLSX_Find(ssl->extensions, TLSX_STATUS_REQUEST);
CertificateStatusRequest* csr;
#else
(void)idx;
#endif
#ifdef WOLFSSL_SMALL_STACK
CertStatus* status;
@ -13844,6 +13842,8 @@ static int ProcessCSR_ex(WOLFSSL* ssl, byte* input, word32* inOutIdx,
ssl->status_request = 0;
break;
}
#else
(void)idx;
#endif
#ifdef HAVE_CERTIFICATE_STATUS_REQUEST_V2