mirror of https://github.com/wolfSSL/wolfssl.git
src/internal.c: fix -Wdeclaration-after-statement in ProcessCSR_ex().
parent
29a0992ed5
commit
0cea9c09f7
|
@ -13814,8 +13814,6 @@ static int ProcessCSR_ex(WOLFSSL* ssl, byte* input, word32* inOutIdx,
|
||||||
#if defined(HAVE_CERTIFICATE_STATUS_REQUEST)
|
#if defined(HAVE_CERTIFICATE_STATUS_REQUEST)
|
||||||
TLSX* ext = TLSX_Find(ssl->extensions, TLSX_STATUS_REQUEST);
|
TLSX* ext = TLSX_Find(ssl->extensions, TLSX_STATUS_REQUEST);
|
||||||
CertificateStatusRequest* csr;
|
CertificateStatusRequest* csr;
|
||||||
#else
|
|
||||||
(void)idx;
|
|
||||||
#endif
|
#endif
|
||||||
#ifdef WOLFSSL_SMALL_STACK
|
#ifdef WOLFSSL_SMALL_STACK
|
||||||
CertStatus* status;
|
CertStatus* status;
|
||||||
|
@ -13844,6 +13842,8 @@ static int ProcessCSR_ex(WOLFSSL* ssl, byte* input, word32* inOutIdx,
|
||||||
ssl->status_request = 0;
|
ssl->status_request = 0;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
(void)idx;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_CERTIFICATE_STATUS_REQUEST_V2
|
#ifdef HAVE_CERTIFICATE_STATUS_REQUEST_V2
|
||||||
|
|
Loading…
Reference in New Issue