Merge branch 'master' of github.com:cyassl/cyassl

This commit is contained in:
toddouska 2013-11-20 15:13:14 -08:00
commit 864b25843e

View File

@ -5742,7 +5742,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)
{