diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2020-05-13 18:15:08 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2020-05-13 18:19:38 +0900 |
commit | 93213b2730a45fe997b8e581c64c42e13cd9abde (patch) | |
tree | dd17c9844290a490d0ca769d5a62a134f73e2274 /lib/openssl/hmac.rb | |
parent | d669d7158266c7943d191be9dd39f3be2df7cf57 (diff) | |
download | ruby-openssl-93213b2730a45fe997b8e581c64c42e13cd9abde.tar.gz |
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
Diffstat (limited to 'lib/openssl/hmac.rb')
0 files changed, 0 insertions, 0 deletions