From 51b3030b2b17415a54cd1449117069a7bcf53a0f Mon Sep 17 00:00:00 2001 From: Ryuta Kamizono Date: Mon, 26 Apr 2021 00:31:08 +0900 Subject: Fix some typos [ci skip] --- ext/openssl/ossl.c | 2 +- ext/openssl/ossl_ocsp.c | 4 ++-- ext/openssl/ossl_ssl.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ext/openssl/ossl.c b/ext/openssl/ossl.c index 358b3b29..cf070ef8 100644 --- a/ext/openssl/ossl.c +++ b/ext/openssl/ossl.c @@ -392,7 +392,7 @@ ossl_debug_get(VALUE self) * call-seq: * OpenSSL.debug = boolean -> boolean * - * Turns on or off debug mode. With debug mode, all erros added to the OpenSSL + * Turns on or off debug mode. With debug mode, all errors added to the OpenSSL * error queue will be printed to stderr. */ static VALUE diff --git a/ext/openssl/ossl_ocsp.c b/ext/openssl/ossl_ocsp.c index 11a7ed32..d4ca958a 100644 --- a/ext/openssl/ossl_ocsp.c +++ b/ext/openssl/ossl_ocsp.c @@ -157,7 +157,7 @@ ossl_ocspcertid_new(OCSP_CERTID *cid) } /* - * OCSP::Resquest + * OCSP::Request */ static VALUE ossl_ocspreq_alloc(VALUE klass) @@ -1739,7 +1739,7 @@ Init_ossl_ocsp(void) * single_response = basic_response.find_response(certificate_id) * * unless single_response - * raise 'basic_response does not have the status for the certificiate' + * raise 'basic_response does not have the status for the certificate' * end * * Then check the validity. A status issued in the future must be rejected. diff --git a/ext/openssl/ossl_ssl.c b/ext/openssl/ossl_ssl.c index 76db821e..801015e7 100644 --- a/ext/openssl/ossl_ssl.c +++ b/ext/openssl/ossl_ssl.c @@ -1112,7 +1112,7 @@ ossl_sslctx_enable_fallback_scsv(VALUE self) /* * call-seq: - * ctx.add_certificate(certiticate, pkey [, extra_certs]) -> self + * ctx.add_certificate(certificate, pkey [, extra_certs]) -> self * * Adds a certificate to the context. _pkey_ must be a corresponding private * key with _certificate_. -- cgit v1.2.3