1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* sample/openssl/c_rehash.rb: Use digest/md5 instead of obsolete md5.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
knu 2006-10-05 19:31:50 +00:00
parent ed6886efb5
commit 8f0bce5ddc
2 changed files with 5 additions and 3 deletions

View file

@ -1,8 +1,10 @@
Fri Oct 6 04:21:23 2006 Akinori MUSHA <knu@iDaemons.org>
Fri Oct 6 04:27:40 2006 Akinori MUSHA <knu@iDaemons.org>
* ext/digest/lib/md5.rb, ext/digest/lib/sha1.rb: Remove those
compatibility stub libraries.
* sample/openssl/c_rehash.rb: Use digest/md5 instead of obsolete md5.
Fri Oct 6 04:09:51 2006 Akinori MUSHA <knu@iDaemons.org>
* ext/digest/digest.c: Make hexdigest() always call digest() internally.

View file

@ -1,7 +1,7 @@
#!/usr/bin/env ruby
require 'openssl'
require 'md5'
require 'digest/md5'
class CHashDir
include Enumerable
@ -161,7 +161,7 @@ private
end
def fingerprint(der)
MD5.hexdigest(der).upcase
Digest::MD5.hexdigest(der).upcase
end
end