Merge pull request #458 from ejohnstown/ocsp-fix

OCSP Fix
pull/459/head
JacobBarthelmeh 2022-09-08 14:56:38 -06:00 committed by GitHub
commit 8d0c8a58ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 4 deletions

View File

@ -3361,10 +3361,12 @@ static int ParseAndVerifyCert(WOLFSSH* ssh, byte* in, word32 inSz,
}
}
/* @TODO handle OCSP's */
if (ocspCount > 0) {
WLOG(WS_LOG_INFO, "Peer sent OCSP's, not yet handled");
ret = GetSize(&l, ocspBuf, ocspBufSz, &m);
if (ret == WS_SUCCESS) {
/* @TODO handle OCSP's */
if (ocspCount > 0) {
WLOG(WS_LOG_INFO, "Peer sent OCSP's, not yet handled");
ret = GetSize(&l, ocspBuf, ocspBufSz, &m);
}
}
}