aboutsummaryrefslogtreecommitdiffstats
path: root/ext/openssl/ossl_x509store.c
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2020-03-09 17:40:31 +0900
committerKazuki Yamaguchi <k@rhe.jp>2020-03-09 17:40:31 +0900
commitec6542835874ca00e3a777334ee049b5b4cd02e4 (patch)
tree0e466691d85817335c3d2cec6a72a61ac866e5ac /ext/openssl/ossl_x509store.c
parent08e12dd9302c1fd517c642bdd7d274e64b354c53 (diff)
parent035a04ece237105ba3c91a8db8f81dc81d2dc452 (diff)
downloadruby-openssl-ec6542835874ca00e3a777334ee049b5b4cd02e4.tar.gz
Merge branch 'maint-2.0' into maint
* maint-2.0: ssl: set verify error code in the case of verify_hostname failure x509: add error code and verify flags constants Remove taint support Restore compatibility with older versions of Ruby. Fix keyword argument separation issues in OpenSSL::SSL::SSLSocket#sys{read,write}_nonblock config: support .include directive
Diffstat (limited to 'ext/openssl/ossl_x509store.c')
-rw-r--r--ext/openssl/ossl_x509store.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/openssl/ossl_x509store.c b/ext/openssl/ossl_x509store.c
index 2909eeda..61543d44 100644
--- a/ext/openssl/ossl_x509store.c
+++ b/ext/openssl/ossl_x509store.c
@@ -304,7 +304,6 @@ ossl_x509store_add_file(VALUE self, VALUE file)
char *path = NULL;
if(file != Qnil){
- rb_check_safe_obj(file);
path = StringValueCStr(file);
}
GetX509Store(self, store);
@@ -340,7 +339,6 @@ ossl_x509store_add_path(VALUE self, VALUE dir)
char *path = NULL;
if(dir != Qnil){
- rb_check_safe_obj(dir);
path = StringValueCStr(dir);
}
GetX509Store(self, store);