summaryrefslogtreecommitdiff
path: root/test/openssl/test_x509cert.rb
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2021-07-19 10:57:56 +0900
committerYusuke Endoh <mame@ruby-lang.org>2021-07-19 10:57:56 +0900
commitab2bd3ff35176031965613abfeb06a9c47e9eee1 (patch)
tree7d6f366daa425568df3cfd5f7223c4cf5be9cfec /test/openssl/test_x509cert.rb
parent91ffce8f24336f2dabb4e8b9efc3fe11738deda4 (diff)
test/openssl/test_x509cert.rb: Prevent "unused variable" warning
Diffstat (limited to 'test/openssl/test_x509cert.rb')
-rw-r--r--test/openssl/test_x509cert.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/openssl/test_x509cert.rb b/test/openssl/test_x509cert.rb
index 818b784b6c..d696b98c0a 100644
--- a/test/openssl/test_x509cert.rb
+++ b/test/openssl/test_x509cert.rb
@@ -316,7 +316,7 @@ class OpenSSL::TestX509Certificate < OpenSSL::TestCase
fullchain_path = Fixtures.file_path("pkey", "garbage.txt")
assert_raise(OpenSSL::X509::CertificateError) do
- certificates = OpenSSL::X509::Certificate.load_file(fullchain_path)
+ OpenSSL::X509::Certificate.load_file(fullchain_path)
end
end