diff --git a/src/test/ruby/x509/test_x509crl.rb b/src/test/ruby/x509/test_x509crl.rb index 4ca5e8df..8e88b7c7 100644 --- a/src/test/ruby/x509/test_x509crl.rb +++ b/src/test/ruby/x509/test_x509crl.rb @@ -99,7 +99,7 @@ def test_revoked_crl_loading revoked = crl.revoked.last assert_equal last_serial.to_i(16).to_s, revoked.serial.to_s - assert_equal Date.new(2014, 07, 07), Date.parse(revoked.time.strftime('%Y/%m/%d')) + assert_equal Date.new(2014, 07, 07), Date.parse(revoked.time.utc.strftime('%Y/%m/%d')) end # NOTE: same as OpenSSL's test_extension but without extension order requirement ...