summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/openssl/test_pkey.rb11
1 files changed, 0 insertions, 11 deletions
diff --git a/test/openssl/test_pkey.rb b/test/openssl/test_pkey.rb
index 24a595333b..8066c4dc19 100644
--- a/test/openssl/test_pkey.rb
+++ b/test/openssl/test_pkey.rb
@@ -124,17 +124,6 @@ class OpenSSL::TestPKey < OpenSSL::PKeyTestCase
}
}
assert_equal(1, called)
-
- # Incorrect passphrase returned by the block. The input contains two PEM
- # blocks.
- called = 0
- assert_raise(OpenSSL::PKey::PKeyError) {
- OpenSSL::PKey.read(encrypted_pem + encrypted_pem) {
- called += 1
- "incorrect_passphrase"
- }
- }
- assert_equal(1, called)
end
def test_s_read_passphrase_tty