mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-29 18:27:29 +02:00
spell fix: OSCP -> OCSP
This commit is contained in:
@ -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 */
|
||||
|
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user