summaryrefslogtreecommitdiff
path: root/gem_prelude.rb
diff options
context:
space:
mode:
authorKazuki Yamaguchi <[email protected]>2020-02-17 08:28:33 +0000
committerYusuke Endoh <[email protected]>2020-02-17 20:50:47 +0900
commit99b191d83f96dd7f56b673bb1b7dbf96b68dc3e6 (patch)
tree1ad6ed83ed477444a78b78a696c6371f546e8cb0 /gem_prelude.rb
parent3fbcdac3e40f68667a9a1b5a2efed215762260c0 (diff)
[ruby/openssl] ts: simplify OpenSSL::Timestamp::Request#algorithm
Stop the special treatment of invalid hashAlgorithm of the message imprint. Those invalid values can only appear after the object is instantiated, before the user sets an actual message digest algorithm. OpenSSL::Timestamp::TokenInfo#algorithm already does the same. Also, remove the test case "test_create_request" since it does not make much sense. Those fields are to be set by the user after creation of the object and checking the initial value is pointless. Fixes: https://github.com/ruby/openssl/issues/335 https://github.com/ruby/openssl/commit/890a6476fa
Diffstat (limited to 'gem_prelude.rb')
0 files changed, 0 insertions, 0 deletions