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 | 80b7d80c918343d6937ef22856dc6d4c02b3b190 (patch) | |
tree | c8656136b5cae70a845f4691ad6651a3fff30268 /vm_core.h | |
parent | d68c45025fb5726a7afc28bb264e20af0b1a0eea (diff) | |
download | ruby-80b7d80c918343d6937ef22856dc6d4c02b3b190.tar.gz |
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 'vm_core.h')
0 files changed, 0 insertions, 0 deletions