From 945a76d97b00f9c0d24b6d14da86b18284316000 Mon Sep 17 00:00:00 2001 From: knu Date: Wed, 11 Oct 2006 12:43:58 +0000 Subject: * 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 --- ext/digest/sha1/sha1ossl.h | 1 - 1 file changed, 1 deletion(-) (limited to 'ext/digest/sha1/sha1ossl.h') diff --git a/ext/digest/sha1/sha1ossl.h b/ext/digest/sha1/sha1ossl.h index 8a5b9cfc02..8f9984cc64 100644 --- a/ext/digest/sha1/sha1ossl.h +++ b/ext/digest/sha1/sha1ossl.h @@ -16,6 +16,5 @@ #define SHA1_DIGEST_LENGTH SHA_DIGEST_LENGTH void SHA1_Finish(SHA1_CTX *ctx, char *buf); -int SHA1_Equal(SHA1_CTX *pctx1, SHA1_CTX *pctx2); #endif -- cgit v1.2.3