aboutsummaryrefslogtreecommitdiffstats
path: root/test/openssl/ut_eof.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/openssl/ut_eof.rb')
-rw-r--r--test/openssl/ut_eof.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/openssl/ut_eof.rb b/test/openssl/ut_eof.rb
index 6de41c4a70..bd62fd50f9 100644
--- a/test/openssl/ut_eof.rb
+++ b/test/openssl/ut_eof.rb
@@ -1,6 +1,8 @@
# frozen_string_literal: false
require 'test/unit'
+if defined?(OpenSSL)
+
module OpenSSL::TestEOF
def test_eof_0
open_file("") {|f|
@@ -127,3 +129,5 @@ module OpenSSL::TestEOF
end
end
end
+
+end