Project

General

Profile

« Previous | Next » 

Revision 88b8b3ac

Added by rhenium (Kazuki Yamaguchi) over 4 years ago

[ruby/openssl] x509store: let X509::Store#add_file raise TypeError if nil is given

Undo special treatment of nil and simply pass the value to
StringValueCStr().

nil was never a valid argument for the method; OpenSSL::X509::StoreError
with an unhelpful error message "system lib" was raised in that case.

https://github.com/ruby/openssl/commit/fb2fcbb137