diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-01-15 03:01:19 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-01-15 03:01:19 +0000 |
commit | 49cf75e675c2498489df553b702a9b45a8555a8a (patch) | |
tree | 39f939de6b2201cf2773f20d2286135734de22af /test/net | |
parent | b794a2bd8c40526c000abde831e372744c3fa3e0 (diff) |
* test/net/smtp/test_ssl_socket.rb: fix dependency.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/net')
-rw-r--r-- | test/net/smtp/test_ssl_socket.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/net/smtp/test_ssl_socket.rb b/test/net/smtp/test_ssl_socket.rb index f01758a183..dc8b03e07a 100644 --- a/test/net/smtp/test_ssl_socket.rb +++ b/test/net/smtp/test_ssl_socket.rb @@ -15,6 +15,7 @@ module Net end end + require 'stringio' class SSLSocket < StringIO attr_accessor :sync_close, :connected, :closed @@ -87,4 +88,4 @@ module Net ].join("\r\n") + "\r\n" end end -end +end if defined?(OpenSSL) |