mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 18:57:27 +02:00
DoCertificateStatus: Clean up logic in WOLFSSL_CSR2_OCSP_MULTI
This commit is contained in:
committed by
Marco Oliverio
parent
dabfad9f6c
commit
7814e4c264
@ -16093,14 +16093,10 @@ static int DoCertificateStatus(WOLFSSL* ssl, byte* input, word32* inOutIdx,
|
|||||||
OcspResponse response[1];
|
OcspResponse response[1];
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
do {
|
if (!ssl->status_request_v2)
|
||||||
if (ssl->status_request_v2) {
|
|
||||||
ssl->status_request_v2 = 0;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
return BUFFER_ERROR;
|
return BUFFER_ERROR;
|
||||||
} while(0);
|
|
||||||
|
ssl->status_request_v2 = 0;
|
||||||
|
|
||||||
#ifdef WOLFSSL_SMALL_STACK
|
#ifdef WOLFSSL_SMALL_STACK
|
||||||
status = (CertStatus*)XMALLOC(sizeof(CertStatus), ssl->heap,
|
status = (CertStatus*)XMALLOC(sizeof(CertStatus), ssl->heap,
|
||||||
|
Reference in New Issue
Block a user