aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-11-03 18:36:37 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-11-03 18:36:37 +0900
commit708ebf2f7a3c812173419ae4ac472ab1cff852a9 (patch)
treec5770d37f44761a08c4e36b58387c512cca6f27c
parentc74362c0978aa91c807506df4099bc0d4fe26fc5 (diff)
downloadruby-openssl-708ebf2f7a3c812173419ae4ac472ab1cff852a9.tar.gz
Fix typos [ci skip]
-rw-r--r--History.md2
-rw-r--r--ext/openssl/ossl_ocsp.c2
-rw-r--r--test/openssl/test_asn1.rb2
3 files changed, 3 insertions, 3 deletions
diff --git a/History.md b/History.md
index 46435f9b..255c0fc5 100644
--- a/History.md
+++ b/History.md
@@ -113,7 +113,7 @@ Bug fixes
[[GitHub #453]](https://github.com/ruby/openssl/pull/453)
* Fix misuse of input record separator in `OpenSSL::Buffering` where it was
for output.
-* Fix wrong interger casting in `OpenSSL::PKey::EC#dsa_verify_asn1`.
+* Fix wrong integer casting in `OpenSSL::PKey::EC#dsa_verify_asn1`.
[[GitHub #460]](https://github.com/ruby/openssl/pull/460)
* `extconf.rb` explicitly checks that OpenSSL's version number is 1.0.1 or
newer but also less than 3.0. Ruby/OpenSSL v2.1.x and v2.2.x will not support
diff --git a/ext/openssl/ossl_ocsp.c b/ext/openssl/ossl_ocsp.c
index d4ca958a..1e87484a 100644
--- a/ext/openssl/ossl_ocsp.c
+++ b/ext/openssl/ossl_ocsp.c
@@ -803,7 +803,7 @@ add_status_convert_time(VALUE obj)
* revocation, and must be one of OpenSSL::OCSP::REVOKED_STATUS_* constants.
* _revocation_time_ is the time when the certificate is revoked.
*
- * _this_update_ and _next_update_ indicate the time at which ths status is
+ * _this_update_ and _next_update_ indicate the time at which the status is
* verified to be correct and the time at or before which newer information
* will be available, respectively. _next_update_ is optional.
*
diff --git a/test/openssl/test_asn1.rb b/test/openssl/test_asn1.rb
index 6bd84780..0fd79715 100644
--- a/test/openssl/test_asn1.rb
+++ b/test/openssl/test_asn1.rb
@@ -170,7 +170,7 @@ class OpenSSL::TestASN1 < OpenSSL::TestCase
str = +"\000"; str[0] = 0b00000110.chr
assert_equal(str, extv.value)
- ext = extensions.value[0].value[2] # subjetKeyIdentifier
+ ext = extensions.value[0].value[2] # subjectKeyIdentifier
assert_equal(OpenSSL::ASN1::Sequence, ext.class)
assert_equal(2, ext.value.size)
assert_equal(OpenSSL::ASN1::ObjectId, ext.value[0].class)