diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2020-05-13 18:15:08 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2021-03-16 19:16:11 +0900 |
commit | 15863069c90b1253021981b23d31f154d79f8fe6 (patch) | |
tree | 77448977ab8525b11267d8a7cae6994521e13e74 /lib/irb/magic-file.rb | |
parent | 9d3ffe09c47a1dfd722693965fbf7dba8571aa88 (diff) |
[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
https://github.com/ruby/openssl/commit/93213b2730
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4275
Diffstat (limited to 'lib/irb/magic-file.rb')
0 files changed, 0 insertions, 0 deletions