From bbc63197bdf893f57f30c35533e4b42078ab6ee5 Mon Sep 17 00:00:00 2001 From: naruse Date: Sat, 21 Nov 2015 05:01:55 +0000 Subject: * ext/digest/sha1/extconf.rb: OpenSSL's struct name for SHA1 is SHA_CTX. http://openssl.org/docs/man0.9.8/crypto/SHA1.html git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ ext/digest/sha1/extconf.rb | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 592606c93a..1bae89f159 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sat Nov 21 13:59:09 2015 NARUSE, Yui + + * 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 * ext/digest/*/*.[ch]: include ruby.h before digest.h to avoid diff --git a/ext/digest/sha1/extconf.rb b/ext/digest/sha1/extconf.rb index 84690e8ea5..b5c111f36e 100644 --- a/ext/digest/sha1/extconf.rb +++ b/ext/digest/sha1/extconf.rb @@ -9,7 +9,7 @@ $defs << "-DHAVE_CONFIG_H" $objs = [ "sha1init.#{$OBJEXT}" ] -digest_conf("sha1", "sha") +digest_conf("sha1", "sha", "SHA") have_header("sys/cdefs.h") -- cgit v1.2.3