diff options
Diffstat (limited to 'ext/digest/digest.c')
-rw-r--r-- | ext/digest/digest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/digest/digest.c b/ext/digest/digest.c index 2cd46590ae..4c7cac1cec 100644 --- a/ext/digest/digest.c +++ b/ext/digest/digest.c @@ -385,7 +385,7 @@ rb_digest_base_equal(VALUE self, VALUE other) algo = get_digest_base_metadata(klass); if (RSTRING_LEN(str2) == algo->digest_len) - str1 = rb_digest_base_digest(self); + str1 = rb_funcall(self, id_digest, 0); else str1 = rb_digest_base_hexdigest(self); } |