aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_pkcs5.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_pkcs5.rb')
-rw-r--r--test/test_pkcs5.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_pkcs5.rb b/test/test_pkcs5.rb
index ad8132c2..59a7e7c9 100644
--- a/test/test_pkcs5.rb
+++ b/test/test_pkcs5.rb
@@ -93,6 +93,6 @@ class OpenSSL::TestPKCS5 < OpenSSL::TestCase
value1 = OpenSSL::PKCS5.pbkdf2_hmac(p, s, c, dk_len, digest)
value2 = OpenSSL::PKCS5.pbkdf2_hmac(p, s, c, dk_len, digest)
assert_equal(value1, value2)
- end if OpenSSL::PKCS5.respond_to?(:pbkdf2_hmac)
+ end
-end if defined?(OpenSSL::TestUtils)
+end