diff options
author | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-10-11 12:43:58 +0000 |
---|---|---|
committer | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-10-11 12:43:58 +0000 |
commit | 945a76d97b00f9c0d24b6d14da86b18284316000 (patch) | |
tree | 081ca1d78f2303a682f338b2605a2da30d19b96f /ext/digest/digest.h | |
parent | 76f721470b854fca0139f8aeab472341aade62c9 (diff) | |
download | ruby-945a76d97b00f9c0d24b6d14da86b18284316000.tar.gz |
* ext/digest/digest.c (rb_digest_base_alloc,
rb_digest_base_equal): Simplify the equality check and just
compare resulted digests since state-level equality should
not be significant.
* ext/digest/digest.h: Ditto.
* ext/digest/*/*.[ch]: Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/digest/digest.h')
-rw-r--r-- | ext/digest/digest.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/digest/digest.h b/ext/digest/digest.h index 98aa87ce1f..ee3c680a36 100644 --- a/ext/digest/digest.h +++ b/ext/digest/digest.h @@ -18,7 +18,6 @@ typedef void (*hash_init_func_t)(void *); typedef void (*hash_update_func_t)(void *, unsigned char *, size_t); typedef void (*hash_finish_func_t)(void *, unsigned char *); -typedef int (*hash_equal_func_t)(void *, void *); typedef struct { size_t digest_len; @@ -26,5 +25,4 @@ typedef struct { hash_init_func_t init_func; hash_update_func_t update_func; hash_finish_func_t finish_func; - hash_equal_func_t equal_func; } algo_t; |