aboutsummaryrefslogtreecommitdiffstats
path: root/lib/openssl/hmac.rb
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2020-05-13 18:15:08 +0900
committerKazuki Yamaguchi <k@rhe.jp>2020-05-13 18:19:38 +0900
commit93213b2730a45fe997b8e581c64c42e13cd9abde (patch)
treedd17c9844290a490d0ca769d5a62a134f73e2274 /lib/openssl/hmac.rb
parentd669d7158266c7943d191be9dd39f3be2df7cf57 (diff)
downloadruby-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