diff options
author | Kazuki Yamaguchi <[email protected]> | 2024-07-04 17:05:05 +0900 |
---|---|---|
committer | git <[email protected]> | 2025-01-06 17:07:56 +0000 |
commit | f0095413a520140d2ba54728d3e558d75dfda09d (patch) | |
tree | e84deabbc38af2f587553c5c43570af624d7c888 /test/openssl/utils.rb | |
parent | 5412501e3611b2a344bf2d71f385bc4f8f0e02ca (diff) |
[ruby/openssl] x509cert: simplify test cases for Certificate.load_file
Remove files from test/openssl/fixtures/pkey/ which are not pkeys.
The test cases for OpenSSL::X509::Certificate.load_file can simply use
issue_cert and Tempfile.
https://github.com/ruby/openssl/commit/11216b8bec
Diffstat (limited to 'test/openssl/utils.rb')
-rw-r--r-- | test/openssl/utils.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/test/openssl/utils.rb b/test/openssl/utils.rb index f6c84eef67..4110d9b0f2 100644 --- a/test/openssl/utils.rb +++ b/test/openssl/utils.rb @@ -24,10 +24,6 @@ module OpenSSL::TestUtils @file_cache[[category, name]] ||= File.read(File.join(__dir__, "fixtures", category, name + ".pem")) end - - def file_path(category, name) - File.join(__dir__, "fixtures", category, name) - end end module_function |