ruby/ext/openssl
emboss 8b7e10879e * ext/openssl/ossl_asn1.c: fix int_ossl_asn1_decode0_cons when being
fed arbitrary string values.
  Clearly distinguish between the cases "universal, infinite and
  not a SEQUENCE or SET" and "universal SEQUENCE or SET, possibly
  infinite". Raise error for universal tags that are not infinite.
* test/openssl/test_asn1.rb: add a test for this.

  Thanks to Hiroshi Yoshida for reporting this bug.
  [Bug #5363] [ruby-dev:44542]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-25 14:51:20 +00:00
..
lib * ext/openssl/lib/openssl/bn.rb: Hide copyright info from RDoc. 2011-08-25 00:43:45 +00:00
extconf.rb * Release GVL while OpenSSL's public key generation. 2011-09-01 07:42:29 +00:00
openssl_missing.c * ext/openssl/extconf.rb 2011-06-26 01:32:03 +00:00
openssl_missing.h * ext/openssl/extconf.rb 2011-06-26 01:32:03 +00:00
ossl.c * ext/openssl/ossl.c (ossl_verify_cb): trap the exception from 2011-07-14 05:41:05 +00:00
ossl.h * ext/openssl/ossl.h: include openssl/e_os2.h before checking the 2011-07-08 06:03:17 +00:00
ossl_asn1.c * ext/openssl/ossl_asn1.c: fix int_ossl_asn1_decode0_cons when being 2011-09-25 14:51:20 +00:00
ossl_asn1.h * ext/**/*.[ch]: removed trailing spaces. 2010-04-22 08:04:13 +00:00
ossl_bio.c * include/ruby/intern.h (rb_update_max_fd): declaration moved from 2011-07-20 13:26:10 +00:00
ossl_bio.h * ext/openssl: all files are reviewed to simplify and avoid memory leak. 2003-09-17 09:05:02 +00:00
ossl_bn.c * ext/openssl/ossl.c: surpress warning: shorten-64-to-32. 2011-03-24 07:29:21 +00:00
ossl_bn.h * ext/openssl/ossl_bn.c: More documentation. 2007-04-03 07:02:44 +00:00
ossl_cipher.c * ext/openssl/ossl_cipher.c (ossl_cipher_initialize): Avoid possible 2011-07-28 13:48:05 +00:00
ossl_cipher.h * ext/openssl/ossl_pkcs5.c: New module. 2007-04-05 05:59:22 +00:00
ossl_config.c * ext/openssl/ossl_config.c (parse_config): remove dead declaration. 2010-09-29 03:37:44 +00:00
ossl_config.h * ext/openssl/ossl.h: include openssl/conf.h and openssl/conf_api.h. 2003-09-08 10:31:38 +00:00
ossl_digest.c * ext/openssl/ossl_digest.c: Document OpenSSL::Digest::digest and add 2011-08-25 00:29:02 +00:00
ossl_digest.h * ext/openssl/ossl_pkcs5.c: New module. 2007-04-05 05:59:22 +00:00
ossl_engine.c * ext/openssl/ossl_engine.c: Avoid double free of ENGINE reference. 2011-07-22 00:13:07 +00:00
ossl_engine.h * ext/openssl/ossl_engine.c: add a new module OpenSSL::Engine. 2003-10-02 08:47:11 +00:00
ossl_hmac.c * ext/openssl/ossl_hmac.c: Revert checking return type of 2011-07-22 04:11:38 +00:00
ossl_hmac.h * ext/openssl: imported. 2003-07-23 16:12:24 +00:00
ossl_ns_spki.c * ext/openssl/ossl.c: surpress warning: shorten-64-to-32. 2011-03-24 07:29:21 +00:00
ossl_ns_spki.h * ext/openssl: imported. 2003-07-23 16:12:24 +00:00
ossl_ocsp.c * ext/openssl/ossl.c: surpress warning: shorten-64-to-32. 2011-03-24 07:29:21 +00:00
ossl_ocsp.h * ext/openssl: imported. 2003-07-23 16:12:24 +00:00
ossl_pkcs5.c * ext/openssl/ossl.c: surpress warning: shorten-64-to-32. 2011-03-24 07:29:21 +00:00
ossl_pkcs5.h * ext/dl/cfunc.c (rb_dlcfunc_call): adjust format. [ruby-dev:31222] 2007-07-15 13:24:39 +00:00
ossl_pkcs7.c * sytle fixes. 2011-06-30 20:20:32 +00:00
ossl_pkcs7.h * ext/openssl/ossl_pkcs5.c: New module. 2007-04-05 05:59:22 +00:00
ossl_pkcs12.c * ext/openssl/ossl.h: Introduced OSSL_BIO_reset macro for PEM/DER 2011-06-22 08:41:08 +00:00
ossl_pkcs12.h * ext/openssl/ossl_pkcs5.c: New module. 2007-04-05 05:59:22 +00:00
ossl_pkey.c * Release GVL while OpenSSL's public key generation. 2011-09-01 07:42:29 +00:00
ossl_pkey.h * Release GVL while OpenSSL's public key generation. 2011-09-01 07:42:29 +00:00
ossl_pkey_dh.c * Release GVL while OpenSSL's public key generation. 2011-09-01 07:42:29 +00:00
ossl_pkey_dsa.c * Release GVL while OpenSSL's public key generation. 2011-09-01 07:42:29 +00:00
ossl_pkey_ec.c * ext/openssl/ossl.h: Introduced OSSL_BIO_reset macro for PEM/DER 2011-06-22 08:41:08 +00:00
ossl_pkey_rsa.c * Release GVL while OpenSSL's public key generation. 2011-09-01 07:42:29 +00:00
ossl_rand.c * ext/openssl/ossl.c: surpress warning: shorten-64-to-32. 2011-03-24 07:29:21 +00:00
ossl_rand.h * ext/openssl: imported. 2003-07-23 16:12:24 +00:00
ossl_ssl.c * ext/openssl/ossl_ssl.c: Support disabling OpenSSL compression. 2011-08-15 01:10:26 +00:00
ossl_ssl.h * ext/openssl/ossl_ssl.h: parenthesize macro arguments. 2011-03-10 13:28:58 +00:00
ossl_ssl_session.c * ext/openssl/ossl_ssl_session.c (ossl_ssl_session_set_time): Check 2011-06-23 10:36:09 +00:00
ossl_version.h * ext/openssl/ossl_ssl.c: Switch stats hash key from string to symbol. 2008-04-20 22:32:06 +00:00
ossl_x509.c * ext/openssl/ossl.h: include openssl/conf.h and openssl/conf_api.h. 2003-09-08 10:31:38 +00:00
ossl_x509.h * ext/openssl/ossl_ssl.c (ossl_ssl_peer_cert_chain): add new method 2003-11-01 09:24:55 +00:00
ossl_x509attr.c * ext/openssl/ossl_x509attr.c: parenthesize macro arguments. 2011-03-13 09:11:45 +00:00
ossl_x509cert.c * ext/openssl/ossl_x509cert.c: fixed whitespace issues 2011-08-16 21:41:25 +00:00
ossl_x509crl.c * ext/openssl/ossl.h: Introduced OSSL_BIO_reset macro for PEM/DER 2011-06-22 08:41:08 +00:00
ossl_x509ext.c * ext/openssl/ossl.c: surpress warning: shorten-64-to-32. 2011-03-24 07:29:21 +00:00
ossl_x509name.c * ext/openssl/ossl_x509name.c: Add X509::Name#hash_old as a wrapper 2011-06-23 13:51:55 +00:00
ossl_x509req.c * ext/openssl/ossl.h: Introduced OSSL_BIO_reset macro for PEM/DER 2011-06-22 08:41:08 +00:00
ossl_x509revoked.c * ext/openssl/ossl_x509revoked.c: parenthesize macro arguments. 2011-03-19 03:30:59 +00:00
ossl_x509store.c * ext/openssl/ossl_rand.c (ossl_rand_egd_bytes): use NUM2INT because 2011-03-24 04:49:18 +00:00
ruby_missing.h * ext/openssl/ruby_missing.h: parenthesize macro arguments. 2011-03-22 11:09:43 +00:00