mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-01 03:34:39 +02:00
removes request->nonceSz check to fully validate response->nonce.
This commit is contained in:
@@ -9955,7 +9955,7 @@ int CompareOcspReqResp(OcspRequest* req, OcspResponse* resp)
|
||||
|
||||
/* Nonces are not critical. The responder may not necessarily add
|
||||
* the nonce to the response. */
|
||||
if (req->nonceSz && resp->nonceSz != 0) {
|
||||
if (resp->nonceSz != 0) {
|
||||
cmp = req->nonceSz - resp->nonceSz;
|
||||
if (cmp != 0)
|
||||
{
|
||||
|
Reference in New Issue
Block a user