diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2021-11-03 23:42:14 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-03 23:42:14 +0900 |
commit | 8193b7322ece2548eaf3d8acd1aec32bfc2cfdb9 (patch) | |
tree | c5770d37f44761a08c4e36b58387c512cca6f27c | |
parent | c74362c0978aa91c807506df4099bc0d4fe26fc5 (diff) | |
parent | 708ebf2f7a3c812173419ae4ac472ab1cff852a9 (diff) | |
download | ruby-openssl-8193b7322ece2548eaf3d8acd1aec32bfc2cfdb9.tar.gz |
Merge pull request #472 from ruby/typo
Fix typos [ci skip]
-rw-r--r-- | History.md | 2 | ||||
-rw-r--r-- | ext/openssl/ossl_ocsp.c | 2 | ||||
-rw-r--r-- | test/openssl/test_asn1.rb | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -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) |