mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 10:47:28 +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);
|
wolfSSL_CTX_EnableOCSP(ctx, WOLFSSL_OCSP_NO_NONCE);
|
||||||
}
|
}
|
||||||
#ifndef NO_RSA
|
#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) \
|
#if defined(HAVE_CERTIFICATE_STATUS_REQUEST) \
|
||||||
|| defined(HAVE_CERTIFICATE_STATUS_REQUEST_V2)
|
|| defined(HAVE_CERTIFICATE_STATUS_REQUEST_V2)
|
||||||
{ /* scope start */
|
{ /* scope start */
|
||||||
|
@ -31065,10 +31065,10 @@ int InitOcspRequest(OcspRequest* req, DecodedCert* cert, byte useNonce,
|
|||||||
ret = wc_InitRng(&rng);
|
ret = wc_InitRng(&rng);
|
||||||
#endif
|
#endif
|
||||||
if (ret != 0) {
|
if (ret != 0) {
|
||||||
WOLFSSL_MSG("\tCannot initialize RNG. Skipping the OSCP Nonce.");
|
WOLFSSL_MSG("\tCannot initialize RNG. Skipping the OCSP Nonce.");
|
||||||
} else {
|
} else {
|
||||||
if (wc_RNG_GenerateBlock(&rng, req->nonce, MAX_OCSP_NONCE_SZ) != 0)
|
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
|
else
|
||||||
req->nonceSz = MAX_OCSP_NONCE_SZ;
|
req->nonceSz = MAX_OCSP_NONCE_SZ;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user