diff options
| author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2024-07-08 14:08:39 +0900 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2024-07-08 15:15:46 +0900 |
| commit | 95bf9049a71e4e6fbaea9709df4257e21675d94f (patch) | |
| tree | 50be516066e0e280cc42503b0fd2a56cded762af | |
| parent | e4825a5194af822104ec9fcac00004a2bad30f18 (diff) | |
Load OpenSSL on TestOpenURIUtils for with_https
| -rw-r--r-- | test/open-uri/utils.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/open-uri/utils.rb b/test/open-uri/utils.rb index 3a79a32ea1..80d3f2b219 100644 --- a/test/open-uri/utils.rb +++ b/test/open-uri/utils.rb @@ -1,4 +1,8 @@ require 'socket' +begin + require 'openssl' +rescue LoadError +end class SimpleHTTPServer def initialize(bind_addr, port, log) |
