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
rhe f9843bc4dc openssl: use ASN1_ENUMERATED_to_BN() if needed
* ext/openssl/ossl_asn1.c (asn1integer_to_num): Use
  ASN1_ENUMERATED_to_BN() to convert an ASN1_ENUMERATED to a BN.
  Starting from OpenSSL 1.1.0, ASN1_INTEGER_to_BN() rejects
  non-ASN1_INTEGER objects. The format of INTEGER and ENUMERATED are
  almost identical so they behaved in the same way in OpenSSL <= 1.0.2.
  [ruby-core:75225] [Feature #12324]

* test/openssl/test_asn1.rb (test_decode_enumerated): Test that it
  works.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-06-09 12:42:08 +00:00
..
lib openssl: adjust tests for OpenSSL 1.1.0 2016-06-07 12:20:46 +00:00
depend
deprecation.rb
extconf.rb openssl: fix build with OpenSSL 1.1.0 and no pkg-config 2016-06-09 06:03:55 +00:00
openssl_missing.c openssl: adapt to OpenSSL 1.1.0 opaque structs 2016-06-05 15:35:12 +00:00
openssl_missing.h openssl: fix compile on VC 2016-06-06 01:40:27 +00:00
ossl.c openssl: adapt to OpenSSL 1.1.0 opaque structs 2016-06-05 15:35:12 +00:00
ossl.h
ossl_asn1.c openssl: use ASN1_ENUMERATED_to_BN() if needed 2016-06-09 12:42:08 +00:00
ossl_asn1.h
ossl_bio.c
ossl_bio.h
ossl_bn.c openssl: adapt to OpenSSL 1.1.0 opaque structs 2016-06-05 15:35:12 +00:00
ossl_bn.h
ossl_cipher.c openssl: fix free function of OpenSSL::Cipher 2016-06-06 08:11:24 +00:00
ossl_cipher.h
ossl_config.c
ossl_config.h
ossl_digest.c
ossl_digest.h
ossl_engine.c openssl: adjust tests for OpenSSL 1.1.0 2016-06-07 12:20:46 +00:00
ossl_engine.h
ossl_hmac.c openssl: adapt to OpenSSL 1.1.0 opaque structs 2016-06-05 15:35:12 +00:00
ossl_hmac.h
ossl_ns_spki.c
ossl_ns_spki.h
ossl_ocsp.c openssl: adapt to OpenSSL 1.1.0 opaque structs 2016-06-05 15:35:12 +00:00
ossl_ocsp.h
ossl_pkcs5.c
ossl_pkcs5.h
ossl_pkcs7.c
ossl_pkcs7.h
ossl_pkcs12.c
ossl_pkcs12.h
ossl_pkey.c openssl: adapt to OpenSSL 1.1.0 opaque structs 2016-06-05 15:35:12 +00:00
ossl_pkey.h openssl: adapt OpenSSL::PKey to OpenSSL 1.1.0 opaque structs 2016-06-05 15:00:47 +00:00
ossl_pkey_dh.c openssl: adapt to OpenSSL 1.1.0 opaque structs 2016-06-05 15:35:12 +00:00
ossl_pkey_dsa.c openssl: adapt to OpenSSL 1.1.0 opaque structs 2016-06-05 15:35:12 +00:00
ossl_pkey_ec.c openssl: adapt OpenSSL::PKey to OpenSSL 1.1.0 opaque structs 2016-06-05 15:00:47 +00:00
ossl_pkey_rsa.c openssl: adapt to OpenSSL 1.1.0 opaque structs 2016-06-05 15:35:12 +00:00
ossl_rand.c
ossl_rand.h
ossl_ssl.c openssl: fix build with OPENSSL_NO_EC 2016-06-09 10:46:46 +00:00
ossl_ssl.h
ossl_ssl_session.c openssl: adapt to OpenSSL 1.1.0 opaque structs 2016-06-05 15:35:12 +00:00
ossl_version.h
ossl_x509.c
ossl_x509.h
ossl_x509attr.c openssl: adapt to OpenSSL 1.1.0 opaque structs 2016-06-05 15:35:12 +00:00
ossl_x509cert.c openssl: adapt to OpenSSL 1.1.0 opaque structs 2016-06-05 15:35:12 +00:00
ossl_x509crl.c openssl: adapt to OpenSSL 1.1.0 opaque structs 2016-06-05 15:35:12 +00:00
ossl_x509ext.c
ossl_x509name.c openssl: adapt to OpenSSL 1.1.0 opaque structs 2016-06-05 15:35:12 +00:00
ossl_x509req.c openssl: adapt to OpenSSL 1.1.0 opaque structs 2016-06-05 15:35:12 +00:00
ossl_x509revoked.c openssl: adapt to OpenSSL 1.1.0 opaque structs 2016-06-05 15:35:12 +00:00
ossl_x509store.c openssl: adapt to OpenSSL 1.1.0 opaque structs 2016-06-05 15:35:12 +00:00
ruby_missing.h