ruby-changes:69574
From: Nobuyoshi <ko1@a...>
Date: Wed, 3 Nov 2021 23:43:28 +0900 (JST)
Subject: [ruby-changes:69574] 5b8d22ebe6 (master): [ruby/openssl] Fix typos [ci skip]
https://git.ruby-lang.org/ruby.git/commit/?id=5b8d22ebe6 From 5b8d22ebe60267283a5ca4a1c2ddba507b3d8ba9 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Wed, 3 Nov 2021 18:36:37 +0900 Subject: [ruby/openssl] Fix typos [ci skip] https://github.com/ruby/openssl/commit/708ebf2f7a --- ext/openssl/History.md | 2 +- ext/openssl/ossl_ocsp.c | 2 +- test/openssl/test_asn1.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ext/openssl/History.md b/ext/openssl/History.md index 46435f9be61..255c0fc50bd 100644 --- a/ext/openssl/History.md +++ b/ext/openssl/History.md @@ -113,7 +113,7 @@ Bug fixes https://github.com/ruby/ruby/blob/trunk/ext/openssl/History.md#L113 [[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 d4ca958a586..1e87484afc8 100644 --- a/ext/openssl/ossl_ocsp.c +++ b/ext/openssl/ossl_ocsp.c @@ -803,7 +803,7 @@ add_status_convert_time(VALUE obj) https://github.com/ruby/ruby/blob/trunk/ext/openssl/ossl_ocsp.c#L803 * 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 6bd847806bd..0fd79715857 100644 --- a/test/openssl/test_asn1.rb +++ b/test/openssl/test_asn1.rb @@ -170,7 +170,7 @@ class OpenSSL::TestASN1 < OpenSSL::TestCase https://github.com/ruby/ruby/blob/trunk/test/openssl/test_asn1.rb#L170 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) -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/