mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
0e6521aa5d
regarding char * vs. unsigned char * mismatch; submitted by Lyle Johnson <lyle.johnson@gmail.com> in [ruby-core:10416]. * ext/digest/sha1/sha1ossl.c (SHA1_Finish): Ditto. * ext/digest/rmd160/rmd160ossl.c (RMD160_Finish): Ditto. * ext/digest/digest.c (rb_digest_base_finish, rb_digest_base_update): Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
10 lines
140 B
C
10 lines
140 B
C
/* $Id$ */
|
|
|
|
#include "defs.h"
|
|
#include "sha1ossl.h"
|
|
|
|
void
|
|
SHA1_Finish(SHA1_CTX *ctx, char *buf)
|
|
{
|
|
SHA1_Final((unsigned char *)buf, ctx);
|
|
}
|