[前][次][番号順一覧][スレッド一覧]

ruby-changes:20822

From: naruse <ko1@a...>
Date: Sun, 7 Aug 2011 16:16:40 +0900 (JST)
Subject: [ruby-changes:20822] naruse:r32878 (trunk): * ext/digest/sha2/sha2ossl.c: use original SHA384_Final on DragonFly.

naruse	2011-08-07 15:38:36 +0900 (Sun, 07 Aug 2011)

  New Revision: 32878

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=32878

  Log:
    * ext/digest/sha2/sha2ossl.c: use original SHA384_Final on DragonFly.

  Modified files:
    trunk/ChangeLog
    trunk/ext/digest/sha2/sha2ossl.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 32877)
+++ ChangeLog	(revision 32878)
@@ -1,3 +1,7 @@
+Sun Aug  7 15:37:35 2011  NARUSE, Yui  <naruse@r...>
+
+	* ext/digest/sha2/sha2ossl.c: use original SHA384_Final on DragonFly.
+
 Sun Aug  7 14:08:16 2011  Kazuki Tsujimoto  <kazuki@c...>
 
 	* ext/objspace/objspace.c: fix typos in a document.
Index: ext/digest/sha2/sha2ossl.c
===================================================================
--- ext/digest/sha2/sha2ossl.c	(revision 32877)
+++ ext/digest/sha2/sha2ossl.c	(revision 32878)
@@ -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)

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]