* ext/openssl/lib/openssl/digest.rb (OpenSSL::Digest::hexdigest):

No need to define hexdigest() here because the super method is
  properly defined to use digest() passing through arguments.




git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
knu 2010-02-23 15:56:45 +00:00
parent 55a7a836dd
commit 497a5f8d08
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,9 @@
Wed Feb 24 00:52:42 2010 Akinori MUSHA <knu@iDaemons.org>
* ext/openssl/lib/openssl/digest.rb (OpenSSL::Digest::hexdigest):
No need to define hexdigest() here because the super method is
properly defined to use digest() passing through arguments.
Wed Feb 24 00:51:14 2010 Akinori MUSHA <knu@iDaemons.org>
* ext/openssl/ossl_hmac.c (Init_ossl_hmac): Make OpenSSL::HMAC a

View File

@ -43,7 +43,6 @@ module OpenSSL
singleton = (class << klass; self; end)
singleton.class_eval{
define_method(:digest){|data| Digest.digest(name, data) }
define_method(:hexdigest){|data| Digest.hexdigest(name, data) }
}
const_set(name, klass)
}