summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--ext/openssl/lib/openssl/digest.rb1
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 776641c270e..545c9a9fd60 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/ext/openssl/lib/openssl/digest.rb b/ext/openssl/lib/openssl/digest.rb
index e603c41de47..7da80f23cfc 100644
--- a/ext/openssl/lib/openssl/digest.rb
+++ b/ext/openssl/lib/openssl/digest.rb
@@ -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)
}