File tree Expand file tree Collapse file tree 3 files changed +17
-6
lines changed Expand file tree Collapse file tree 3 files changed +17
-6
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,21 @@ Notable changes
5252 [[ GitHub #167 ]] ( https://github.com/ruby/openssl/pull/167 )
5353
5454
55+ Version 2.0.7
56+ =============
57+
58+ Bug fixes
59+ ---------
60+
61+ * OpenSSL::Cipher#auth_data= could segfault if called against a non-AEAD cipher.
62+ [[ Bug #14024 ]] ( https://bugs.ruby-lang.org/issues/14024 )
63+ * OpenSSL::X509::Certificate#public_key= (and similar methods) could segfault
64+ when an instance of OpenSSL::PKey::PKey with no public key components is
65+ passed.
66+ [[ Bug #14087 ]] ( https://bugs.ruby-lang.org/issues/14087 )
67+ [[ GitHub #168 ]] ( https://github.com/ruby/openssl/pull/168 )
68+
69+
5570Version 2.0.6
5671=============
5772
Original file line number Diff line number Diff line change @@ -1665,12 +1665,12 @@ Init_ossl_asn1(void)
16651665 * == Primitive sub-classes and their mapping to Ruby classes
16661666 * * OpenSSL::ASN1::EndOfContent <=> _value_ is always +nil+
16671667 * * OpenSSL::ASN1::Boolean <=> _value_ is +true+ or +false+
1668- * * OpenSSL::ASN1::Integer <=> _value_ is an Integer
1668+ * * OpenSSL::ASN1::Integer <=> _value_ is an OpenSSL::BN
16691669 * * OpenSSL::ASN1::BitString <=> _value_ is a String
16701670 * * OpenSSL::ASN1::OctetString <=> _value_ is a String
16711671 * * OpenSSL::ASN1::Null <=> _value_ is always +nil+
16721672 * * OpenSSL::ASN1::Object <=> _value_ is a String
1673- * * OpenSSL::ASN1::Enumerated <=> _value_ is an Integer
1673+ * * OpenSSL::ASN1::Enumerated <=> _value_ is an OpenSSL::BN
16741674 * * OpenSSL::ASN1::UTF8String <=> _value_ is a String
16751675 * * OpenSSL::ASN1::NumericString <=> _value_ is a String
16761676 * * OpenSSL::ASN1::PrintableString <=> _value_ is a String
Original file line number Diff line number Diff line change @@ -1034,10 +1034,6 @@ ossl_sslctx_set_ciphers(VALUE self, VALUE v)
10341034 }
10351035
10361036 GetSSLCTX (self , ctx );
1037- if (!ctx ){
1038- ossl_raise (eSSLError , "SSL_CTX is not initialized." );
1039- return Qnil ;
1040- }
10411037 if (!SSL_CTX_set_cipher_list (ctx , StringValueCStr (str ))) {
10421038 ossl_raise (eSSLError , "SSL_CTX_set_cipher_list" );
10431039 }
You can’t perform that action at this time.
0 commit comments