mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/digest/sha2/sha2ossl.c: use original SHA384_Final on DragonFly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
bc647cbdfb
commit
937ff7bdeb
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
Sun Aug 7 15:37:35 2011 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* ext/digest/sha2/sha2ossl.c: use original SHA384_Final on DragonFly.
|
||||
|
||||
Sun Aug 7 14:08:16 2011 Kazuki Tsujimoto <kazuki@callcc.net>
|
||||
|
||||
* ext/objspace/objspace.c: fix typos in a document.
|
||||
|
|
|
@ -4,7 +4,9 @@
|
|||
#define SHA_Finish(bit) \
|
||||
void SHA##bit##_Finish(SHA##bit##_CTX *ctx, char *buf) \
|
||||
{ SHA##bit##_Final((unsigned char *)buf, ctx);}
|
||||
#ifndef __DragonFly__
|
||||
#define SHA384_Final SHA512_Final
|
||||
#endif
|
||||
|
||||
SHA_Finish(256)
|
||||
SHA_Finish(384)
|
||||
|
|
Loading…
Add table
Reference in a new issue