1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext
Kazuki Yamaguchi 99b191d83f [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
2020-02-17 20:50:47 +09:00
..
-test- more on NULL versus functions. 2020-02-07 14:24:19 +09:00
bigdecimal
cgi/escape
continuation
coverage Updated dependencies on internal/warnings.h 2019-12-31 11:14:19 +09:00
date
dbm
digest
etc
fcntl
fiber
fiddle Drop executable bit of *.{yml,h,mk.tmpl} 2020-01-22 16:04:38 +09:00
gdbm
io [ruby/io-console] [DOC] Improved about intr: 2020-02-17 12:05:09 +09:00
json [flori/json] Add :nodoc: for GeneratorMethods 2020-01-06 15:13:50 +09:00
monitor
nkf
objspace Updated dependencies on internal/warnings.h 2019-12-31 11:14:19 +09:00
openssl [ruby/openssl] ts: simplify OpenSSL::Timestamp::Request#algorithm 2020-02-17 20:50:47 +09:00
pathname Fix call-seq of Pathname#{,l}ch{mod,own} [ci skip] 2020-02-15 12:14:12 +09:00
psych
pty Updated dependencies on internal/warnings.h 2019-12-31 11:14:19 +09:00
racc/cparse
rbconfig/sizeof
readline Fix readline build dependency 2020-02-09 11:27:32 -05:00
ripper Workaround for bison provided by scoop on mswin environment 2020-02-15 21:20:25 +09:00
rubyvm
sdbm
socket Updated dependencies on internal/warnings.h 2019-12-31 11:14:19 +09:00
stringio
strscan
syslog
win32
win32ole
zlib
.document
extmk.rb
Setup
Setup.atheos
Setup.nt