summaryrefslogtreecommitdiff
path: root/ext/openssl
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2021-04-26 00:31:08 +0900
committerKazuki Yamaguchi <k@rhe.jp>2021-07-18 17:44:54 +0900
commit29ad4ab3d0407b99bbdad654b2138527859694cf (patch)
tree643d888cb99915bbddabaedcc9743cbaae7e9242 /ext/openssl
parent593164c2bea634e33682a0095825ef17021a7433 (diff)
[ruby/openssl] Fix some typos [ci skip]
https://github.com/ruby/openssl/commit/51b3030b2b
Diffstat (limited to 'ext/openssl')
-rw-r--r--ext/openssl/ossl.c2
-rw-r--r--ext/openssl/ossl_ocsp.c2
-rw-r--r--ext/openssl/ossl_ssl.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/ext/openssl/ossl.c b/ext/openssl/ossl.c
index 358b3b29f0d..cf070ef859b 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 c9b02a1752c..d4ca958a586 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)
diff --git a/ext/openssl/ossl_ssl.c b/ext/openssl/ossl_ssl.c
index e3f38485876..16e13612db6 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_.