summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-10-26 06:15:57 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-10-26 06:15:57 +0000
commitd94124b80f2e818b2267143e6b9d14f3ad60932a (patch)
tree3277011aed3310f90ce90403e1d9d0399273a72f
parent1d214f8087909eaa4b7f574202c28875bbb463cd (diff)
* ext/digest/digest.c (Init_digest): typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--ext/digest/digest.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 97c4876959f..c6e03ea5637 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Thu Oct 26 15:12:12 2006 NAKAMURA Usaku <usa@ruby-lang.org>
+
+ * ext/digest/digest.c (Init_digest): typo.
+
Wed Oct 25 17:16:05 2006 Akinori MUSHA <knu@iDaemons.org>
* test/digest/test_digest_hmac.rb: added.
diff --git a/ext/digest/digest.c b/ext/digest/digest.c
index 4a5245f911d..5d58149b50c 100644
--- a/ext/digest/digest.c
+++ b/ext/digest/digest.c
@@ -608,7 +608,7 @@ Init_digest(void)
rb_define_method(rb_mDigest_Instance, "digest!", rb_digest_instance_digest_bang, 0);
rb_define_method(rb_mDigest_Instance, "hexdigest", rb_digest_instance_hexdigest, -1);
rb_define_method(rb_mDigest_Instance, "hexdigest!", rb_digest_instance_hexdigest_bang, 0);
- rb_define_method(rb_mDigest_Instance, "to_s", rb_digest_instance_hexdigest, 0);
+ rb_define_method(rb_mDigest_Instance, "to_s", rb_digest_instance_to_s, 0);
rb_define_method(rb_mDigest_Instance, "length", rb_digest_instance_length, 0);
rb_define_method(rb_mDigest_Instance, "size", rb_digest_instance_length, 0);