summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/openssl/test_ec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/openssl/test_ec.rb b/test/openssl/test_ec.rb
index 0d1a8ad5b6..671901ca36 100644
--- a/test/openssl/test_ec.rb
+++ b/test/openssl/test_ec.rb
@@ -5,7 +5,7 @@ rescue LoadError
end
require "test/unit"
-if defined?(OpenSSL)
+if defined?(OpenSSL::PKey::EC)
class OpenSSL::TestEC < Test::Unit::TestCase
def setup