diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-08-07 06:38:36 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-08-07 06:38:36 +0000 |
commit | 937ff7bdeb84361431651fbbe9158152efc2f6c1 (patch) | |
tree | cd0c689176384c179395abf78652daa1fa6fdedb /ext/digest/sha2/sha2ossl.c | |
parent | bc647cbdfbc6a16afa04df82930896490162d128 (diff) | |
download | ruby-937ff7bdeb84361431651fbbe9158152efc2f6c1.tar.gz |
* 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
Diffstat (limited to 'ext/digest/sha2/sha2ossl.c')
-rw-r--r-- | ext/digest/sha2/sha2ossl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/digest/sha2/sha2ossl.c b/ext/digest/sha2/sha2ossl.c index 86824e72f4..34353be8b8 100644 --- a/ext/digest/sha2/sha2ossl.c +++ b/ext/digest/sha2/sha2ossl.c @@ -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) |