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

ruby-changes:40616

From: naruse <ko1@a...>
Date: Sat, 21 Nov 2015 14:02:01 +0900 (JST)
Subject: [ruby-changes:40616] naruse:r52695 (trunk): * ext/digest/sha1/extconf.rb: OpenSSL's struct name for SHA1 is

naruse	2015-11-21 14:01:55 +0900 (Sat, 21 Nov 2015)

  New Revision: 52695

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

  Log:
    * ext/digest/sha1/extconf.rb: OpenSSL's struct name for SHA1 is
      SHA_CTX. http://openssl.org/docs/man0.9.8/crypto/SHA1.html

  Modified files:
    trunk/ChangeLog
    trunk/ext/digest/sha1/extconf.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 52694)
+++ ChangeLog	(revision 52695)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sat Nov 21 13:59:09 2015  NARUSE, Yui  <naruse@r...>
+
+	* ext/digest/sha1/extconf.rb: OpenSSL's struct name for SHA1 is
+	  SHA_CTX. http://openssl.org/docs/man0.9.8/crypto/SHA1.html
+
 Sat Nov 21 13:31:52 2015  NARUSE, Yui  <naruse@r...>
 
 	* ext/digest/*/*.[ch]: include ruby.h before digest.h to avoid
Index: ext/digest/sha1/extconf.rb
===================================================================
--- ext/digest/sha1/extconf.rb	(revision 52694)
+++ ext/digest/sha1/extconf.rb	(revision 52695)
@@ -9,7 +9,7 @@ $defs << "-DHAVE_CONFIG_H" https://github.com/ruby/ruby/blob/trunk/ext/digest/sha1/extconf.rb#L9
 
 $objs = [ "sha1init.#{$OBJEXT}" ]
 
-digest_conf("sha1", "sha")
+digest_conf("sha1", "sha", "SHA")
 
 have_header("sys/cdefs.h")
 

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

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