OCSP Nonces are not critical extensions. Allow a response to be missing the nonce.

This commit is contained in:
John Safranek 2013-11-20 13:46:46 -08:00
parent c545202de0
commit 67b1b00a2c

View File

@ -5738,7 +5738,9 @@ int CompareOcspReqResp(OcspRequest* req, OcspResponse* resp)
return 1;
}
if (req->useNonce) {
/* Nonces are not critical. The responder may not necessarily add
* the nonce to the response. */
if (req->useNonce && resp->nonceSz != 0) {
cmp = req->nonceSz - resp->nonceSz;
if (cmp != 0)
{