From 29392ac6b36123f11a7f62a42938d024fdfca155 Mon Sep 17 00:00:00 2001 From: elms Date: Tue, 19 Apr 2022 14:59:04 -0700 Subject: [PATCH] spell fix: OSCP -> OCSP --- examples/server/server.c | 2 +- wolfcrypt/src/asn.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/server/server.c b/examples/server/server.c index 17d07fa31..3f1837972 100644 --- a/examples/server/server.c +++ b/examples/server/server.c @@ -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 */ diff --git a/wolfcrypt/src/asn.c b/wolfcrypt/src/asn.c index c483eb338..af4599732 100644 --- a/wolfcrypt/src/asn.c +++ b/wolfcrypt/src/asn.c @@ -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;