diff options
author | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-07-04 12:45:47 +0000 |
---|---|---|
committer | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-07-04 12:45:47 +0000 |
commit | 0f24cdec9ed4a2023b682e7cd5492b1602100b09 (patch) | |
tree | c8656136b5cae70a845f4691ad6651a3fff30268 /thread.c | |
parent | e4664efaf8c29b7f670157266d2d3551fdde6776 (diff) |
Fallback to Digest::SHA512
`Gem::Package::TarWriter#add_file_signed` expects to fallback to
`Digest::SHA512`, and `digest.respond_to? :name` or not.
So lib/rubygems/security.rb should use same logic for
`Gem::Security::DIGEST_ALGORITHM` and `Gem::Security::DIGEST_NAME`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread.c')
0 files changed, 0 insertions, 0 deletions