1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext/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
..
lib * backport r28621 and r28632 from ruby_1_8; 2010-08-19 08:22:31 +00:00
extconf.rb * ext/openssl/extconf.rb: __VA_ARGS__ is already checked in configure. 2010-06-11 23:03:28 +00:00
openssl_missing.c * ext/**/*.[ch]: removed trailing spaces. 2010-04-22 08:16:09 +00:00
openssl_missing.h
ossl.c * ext/**/*.[ch]: removed trailing spaces. 2010-04-22 08:21:01 +00:00
ossl.h
ossl_asn1.c * backport r29071 from ruby_1_8; 2010-08-23 04:12:08 +00:00
ossl_asn1.h * ext/**/*.[ch]: removed trailing spaces. 2010-04-22 08:04:13 +00:00
ossl_bio.c * ext/**/*.[ch]: removed trailing spaces. 2010-04-22 08:04:13 +00:00
ossl_bio.h
ossl_bn.c * ext/**/*.[ch]: removed trailing spaces. 2010-04-22 08:21:01 +00:00
ossl_bn.h
ossl_cipher.c * ext/**/*.[ch]: removed trailing spaces. 2010-04-22 08:21:01 +00:00
ossl_cipher.h
ossl_config.c * backport r28621 and r28632 from ruby_1_8; 2010-08-19 08:22:31 +00:00
ossl_config.h
ossl_digest.c * ext/**/*.[ch]: removed trailing spaces. 2010-04-22 08:21:01 +00:00
ossl_digest.h
ossl_engine.c * ext/openssl/ossl_config.c: OpenSSL 1.0.0 support. 2010-04-23 08:37:55 +00:00
ossl_engine.h
ossl_hmac.c * ext/**/*.[ch]: removed trailing spaces. 2010-04-22 08:21:01 +00:00
ossl_hmac.h
ossl_ns_spki.c * ext/**/*.[ch]: removed trailing spaces. 2010-04-22 08:21:01 +00:00
ossl_ns_spki.h
ossl_ocsp.c * ext/**/*.[ch]: removed trailing spaces. 2010-04-22 08:04:13 +00:00
ossl_ocsp.h
ossl_pkcs5.c
ossl_pkcs5.h
ossl_pkcs7.c * ext/**/*.[ch]: removed trailing spaces. 2010-04-22 08:21:01 +00:00
ossl_pkcs7.h
ossl_pkcs12.c * ext/**/*.[ch]: removed trailing spaces. 2010-04-22 08:04:13 +00:00
ossl_pkcs12.h
ossl_pkey.c * ext/**/*.[ch]: removed trailing spaces. 2010-04-22 08:21:01 +00:00
ossl_pkey.h
ossl_pkey_dh.c * ext/**/*.[ch]: removed trailing spaces. 2010-04-22 08:21:01 +00:00
ossl_pkey_dsa.c * ext/**/*.[ch]: removed trailing spaces. 2010-04-22 08:21:01 +00:00
ossl_pkey_ec.c * test/openssl/test_ec.rb: added test_dsa_sign_asn1_FIPS186_3. dgst is 2010-05-06 10:13:46 +00:00
ossl_pkey_rsa.c * ext/**/*.[ch]: removed trailing spaces. 2010-04-22 08:21:01 +00:00
ossl_rand.c * ext/**/*.[ch]: removed trailing spaces. 2010-04-22 08:21:01 +00:00
ossl_rand.h
ossl_ssl.c * ext/openssl/ossl_ssl.c (ossl_sslctx_get_ciphers): 2010-06-11 14:06:23 +00:00
ossl_ssl.h * ext/**/*.[ch]: removed trailing spaces. 2010-04-22 08:04:13 +00:00
ossl_ssl_session.c * ext/openssl/ossl_ssl_session.c (SSL_SESSION_cmp): remove static for 2010-04-23 15:16:02 +00:00
ossl_version.h
ossl_x509.c
ossl_x509.h
ossl_x509attr.c * ext/**/*.[ch]: removed trailing spaces. 2010-04-22 08:04:13 +00:00
ossl_x509cert.c * ext/**/*.[ch]: removed trailing spaces. 2010-04-22 08:21:01 +00:00
ossl_x509crl.c * ext/**/*.[ch]: removed trailing spaces. 2010-04-22 08:21:01 +00:00
ossl_x509ext.c * ext/**/*.[ch]: removed trailing spaces. 2010-04-22 08:21:01 +00:00
ossl_x509name.c * ext/**/*.[ch]: removed trailing spaces. 2010-04-22 08:21:01 +00:00
ossl_x509req.c * ext/**/*.[ch]: removed trailing spaces. 2010-04-22 08:21:01 +00:00
ossl_x509revoked.c * ext/**/*.[ch]: removed trailing spaces. 2010-04-22 08:21:01 +00:00
ossl_x509store.c * ext/**/*.[ch]: removed trailing spaces. 2010-04-22 08:04:13 +00:00
ruby_missing.h