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
Kazuki Yamaguchi 15863069c9 [ruby/openssl] digest, hmac, ts, x509: use IO.binread in examples where appropriate
IO.read may mangle line separator, which will corrupt binary data
including DER-encoded X.509 certificates and such.

Fixes: https://github.com/ruby/openssl/issues/243

93213b2730
2021-03-16 19:16:11 +09:00
..
lib [ruby/openssl] pkey: reimplement PKey::DH#compute_key and PKey::EC#dh_compute_key 2021-03-16 19:16:11 +09:00
depend [openssl] Fix dependencies 2020-12-18 21:58:41 +09:00
extconf.rb openssl: sync with upstream repository 2020-03-10 17:41:01 +09:00
History.md [ruby/openssl] Ruby/OpenSSL 2.2.0 2020-05-13 15:47:51 +09:00
openssl.gemspec Import openssl-2.2.0 (#2693) 2020-02-16 15:21:29 +09:00
openssl_missing.c
openssl_missing.h Import openssl-2.2.0 (#2693) 2020-02-16 15:21:29 +09:00
ossl.c [ruby/openssl] pkey: prefer PKey.read over PKey::RSA.new in docs 2021-03-16 19:16:10 +09:00
ossl.h ext/openssl/ossl.h: Remove a variable that is used only in assert 2020-05-13 13:45:31 +09:00
ossl_asn1.c Import openssl-2.2.0 (#2693) 2020-02-16 15:21:29 +09:00
ossl_asn1.h
ossl_bio.c
ossl_bio.h
ossl_bn.c support Ruby 2.x for openssl 2020-12-19 02:05:08 +09:00
ossl_bn.h openssl is ractor-safe 2020-12-18 18:19:33 +09:00
ossl_cipher.c [ruby/openssl] Define Cipher #ccm_data_len= for CCM mode ciphers 2021-03-16 19:16:10 +09:00
ossl_cipher.h
ossl_config.c [ruby/openssl] config: replace DupConfigPtr() with GetConfig() 2021-03-16 19:16:10 +09:00
ossl_config.h [ruby/openssl] config: replace DupConfigPtr() with GetConfig() 2021-03-16 19:16:10 +09:00
ossl_digest.c [ruby/openssl] digest, hmac, ts, x509: use IO.binread in examples where appropriate 2021-03-16 19:16:11 +09:00
ossl_digest.h
ossl_engine.c openssl: sync with upstream repository 2020-03-10 17:41:01 +09:00
ossl_engine.h
ossl_hmac.c [ruby/openssl] digest, hmac, ts, x509: use IO.binread in examples where appropriate 2021-03-16 19:16:11 +09:00
ossl_hmac.h
ossl_kdf.c [ruby/openssl] Look up digest by name instead of constant 2020-05-13 15:47:51 +09:00
ossl_kdf.h
ossl_ns_spki.c [ruby/openssl] Look up digest by name instead of constant 2020-05-13 15:47:51 +09:00
ossl_ns_spki.h
ossl_ocsp.c [ruby/openssl] Look up digest by name instead of constant 2020-05-13 15:47:51 +09:00
ossl_ocsp.h Import openssl-2.2.0 (#2693) 2020-02-16 15:21:29 +09:00
ossl_pkcs7.c Import openssl-2.2.0 (#2693) 2020-02-16 15:21:29 +09:00
ossl_pkcs7.h Import openssl-2.2.0 (#2693) 2020-02-16 15:21:29 +09:00
ossl_pkcs12.c
ossl_pkcs12.h
ossl_pkey.c [ruby/openssl] pkey: add PKey::PKey#derive 2021-03-16 19:16:11 +09:00
ossl_pkey.h [ruby/openssl] pkey: refactor #export/#to_pem and #to_der 2021-03-16 19:16:10 +09:00
ossl_pkey_dh.c [ruby/openssl] pkey: reimplement PKey::DH#compute_key and PKey::EC#dh_compute_key 2021-03-16 19:16:11 +09:00
ossl_pkey_dsa.c [ruby/openssl] pkey: refactor #export/#to_pem and #to_der 2021-03-16 19:16:10 +09:00
ossl_pkey_ec.c [ruby/openssl] pkey: reimplement PKey::DH#compute_key and PKey::EC#dh_compute_key 2021-03-16 19:16:11 +09:00
ossl_pkey_rsa.c [ruby/openssl] pkey: refactor #export/#to_pem and #to_der 2021-03-16 19:16:10 +09:00
ossl_rand.c openssl: sync with upstream repository 2020-03-10 17:41:01 +09:00
ossl_rand.h
ossl_ssl.c Don't redefine #rb_intern over and over again 2020-10-21 12:45:18 +09:00
ossl_ssl.h
ossl_ssl_session.c
ossl_ts.c [ruby/openssl] digest, hmac, ts, x509: use IO.binread in examples where appropriate 2021-03-16 19:16:11 +09:00
ossl_ts.h Import openssl-2.2.0 (#2693) 2020-02-16 15:21:29 +09:00
ossl_x509.c openssl: sync with upstream repository 2020-03-10 17:41:01 +09:00
ossl_x509.h
ossl_x509attr.c
ossl_x509cert.c [ruby/openssl] digest, hmac, ts, x509: use IO.binread in examples where appropriate 2021-03-16 19:16:11 +09:00
ossl_x509crl.c
ossl_x509ext.c [ruby/openssl] config: replace DupConfigPtr() with GetConfig() 2021-03-16 19:16:10 +09:00
ossl_x509name.c Import openssl-2.2.0 (#2693) 2020-02-16 15:21:29 +09:00
ossl_x509req.c
ossl_x509revoked.c
ossl_x509store.c [ruby/openssl] Remove taint support 2019-11-18 01:00:25 +02:00
ruby_missing.h