1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/openssl
nahi 298a6e1cd5 * backport r29071 from ruby_1_8;
* ext/openssl/ossl_asn1.c (obj_to_asn1bool): fixed ASN1::Boolean 
            encoding issue for OpenSSL 1.0.0 compatibility.
            ASN1::Boolean.new(false).to_der wrongly generated "\1\1\377" which 
            means 'true'. 

            ASN1_TYPE_set of OpenSSL <= 0.9.8 treats value 0x100 as 'false' 
            but OpenSSL >= 1.0.0 treats it as 'true'.  ruby-ossl was using
            0x100 for 'false' for backward compatibility.  Just use 0x0 for
            the case OpenSSL >= OpenSSL 0.9.7.

          * test/openssl/test_asn1.rb: test added.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-23 04:12:08 +00:00
..
ssl_server.rb
test_asn1.rb * backport r29071 from ruby_1_8; 2010-08-23 04:12:08 +00:00
test_cipher.rb
test_config.rb * backport r28621 and r28632 from ruby_1_8; 2010-08-19 08:22:31 +00:00
test_digest.rb
test_ec.rb * test/openssl/test_ec.rb: added test_dsa_sign_asn1_FIPS186_3. dgst is 2010-05-06 10:13:46 +00:00
test_hmac.rb Add some more tests, revisited. 2010-02-23 17:36:12 +00:00
test_ns_spki.rb use require_relative. 2010-02-02 13:58:56 +00:00
test_pair.rb * test: use require_relative. 2009-09-12 17:00:51 +00:00
test_pkcs7.rb use require_relative. 2010-02-02 13:58:56 +00:00
test_pkey_rsa.rb
test_ssl.rb * test/openssl/test_ssl.rb (test_client_auth): Errno::ECONNRESET is raised on 2010-05-19 05:14:41 +00:00
test_x509cert.rb * test/openssl/{test_x509cert.rb,openssl,test_x509crl.rb, 2010-02-28 02:47:19 +00:00
test_x509crl.rb * test/openssl/{test_x509cert.rb,openssl,test_x509crl.rb, 2010-02-28 02:47:19 +00:00
test_x509ext.rb
test_x509name.rb
test_x509req.rb * test/openssl/{test_x509cert.rb,openssl,test_x509crl.rb, 2010-02-28 02:47:19 +00:00
test_x509store.rb * test: fixed wrong assertions. 2010-05-02 08:25:11 +00:00
utils.rb * backport r28621 and r28632 from ruby_1_8; 2010-08-19 08:22:31 +00:00