File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -180,6 +180,7 @@ jobs:
180
180
# TODO Fix other tests, and run all the tests on FIPS mode.
181
181
- name : test on fips mode
182
182
run : |
183
- ruby -I./lib -ropenssl \
183
+ bundle exec rake debug &&
184
+ ruby -I./lib -ropenssl \
184
185
-e 'Dir.glob "./test/openssl/{test_fips.rb,test_pkey.rb}", &method(:require)'
185
186
if : matrix.fips-enabled
Original file line number Diff line number Diff line change @@ -42,11 +42,15 @@ task :debug do
42
42
openssl_version_number_str = OpenSSL::OPENSSL_VERSION_NUMBER.to_s(16)
43
43
libressl_version_number_str = (defined? OpenSSL::LIBRESSL_VERSION_NUMBER) ?
44
44
OpenSSL::LIBRESSL_VERSION_NUMBER.to_s(16) : "undefined"
45
+ providers_str = (defined? OpenSSL::Provider) ?
46
+ OpenSSL::Provider.provider_names.join(", ") : "undefined"
45
47
puts <<~MESSAGE
46
48
OpenSSL::OPENSSL_VERSION: #{OpenSSL::OPENSSL_VERSION}
47
49
OpenSSL::OPENSSL_LIBRARY_VERSION: #{OpenSSL::OPENSSL_LIBRARY_VERSION}
48
50
OpenSSL::OPENSSL_VERSION_NUMBER: #{openssl_version_number_str}
49
51
OpenSSL::LIBRESSL_VERSION_NUMBER: #{libressl_version_number_str}
52
+ FIPS enabled: #{OpenSSL.fips_mode}
53
+ Providers: #{providers_str}
50
54
MESSAGE
51
55
EOF
52
56
ruby %Q(-I./lib -ropenssl -ve'#{ ruby_code } ')
You can’t perform that action at this time.
0 commit comments