mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
945a76d97b
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
10 lines
123 B
C
10 lines
123 B
C
/* $Id$ */
|
|
|
|
#include "defs.h"
|
|
#include "sha1ossl.h"
|
|
|
|
void
|
|
SHA1_Finish(SHA1_CTX *ctx, char *buf)
|
|
{
|
|
SHA1_Final(buf, ctx);
|
|
}
|