spell fix: OSCP -> OCSP

This commit is contained in:
elms
2022-04-19 14:59:04 -07:00
parent d4e8922dfd
commit 29392ac6b3
2 changed files with 3 additions and 3 deletions

View File

@ -2835,7 +2835,7 @@ THREAD_RETURN WOLFSSL_THREAD server_test(void* args)
wolfSSL_CTX_EnableOCSP(ctx, WOLFSSL_OCSP_NO_NONCE);
}
#ifndef NO_RSA
/* All the OSCP Stapling test certs are RSA. */
/* All the OCSP Stapling test certs are RSA. */
#if defined(HAVE_CERTIFICATE_STATUS_REQUEST) \
|| defined(HAVE_CERTIFICATE_STATUS_REQUEST_V2)
{ /* scope start */

View File

@ -31065,10 +31065,10 @@ int InitOcspRequest(OcspRequest* req, DecodedCert* cert, byte useNonce,
ret = wc_InitRng(&rng);
#endif
if (ret != 0) {
WOLFSSL_MSG("\tCannot initialize RNG. Skipping the OSCP Nonce.");
WOLFSSL_MSG("\tCannot initialize RNG. Skipping the OCSP Nonce.");
} else {
if (wc_RNG_GenerateBlock(&rng, req->nonce, MAX_OCSP_NONCE_SZ) != 0)
WOLFSSL_MSG("\tCannot run RNG. Skipping the OSCP Nonce.");
WOLFSSL_MSG("\tCannot run RNG. Skipping the OCSP Nonce.");
else
req->nonceSz = MAX_OCSP_NONCE_SZ;