You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…re appropriate
IO.read may mangle line separator, which will corrupt binary data
including DER-encoded X.509 certificates and such.
Fixes: ruby/openssl#243ruby/openssl@93213b2730
rhenium
added a commit
to rhenium/ruby
that referenced
this issue
Mar 16, 2021
…re appropriate
IO.read may mangle line separator, which will corrupt binary data
including DER-encoded X.509 certificates and such.
Fixes: ruby/openssl#243ruby/openssl@93213b2730
I think the following documentation is incomplete and should be updated.
openssl/ext/openssl/ossl_x509cert.c
Lines 733 to 734 in fdcda97
DER-encoded certificates are binary and read by using
File.binread
.File.read gives the error:
Hence to avoid confusions, the document should be something like:
Or may be a note to inform this.
The text was updated successfully, but these errors were encountered: