diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-11-26 08:31:12 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-11-26 08:31:12 +0000 |
commit | 360b98355e08c455d627c31c5f63bdda75fe8de2 (patch) | |
tree | 047e7e3305fd282ef866b4715758de3ce723f994 /ext/digest/sha1 | |
parent | 676c80d203da1d5c2feee44bbe4bc40350b612d4 (diff) | |
download | ruby-360b98355e08c455d627c31c5f63bdda75fe8de2.tar.gz |
fixup! r52695
OpenSSL's SHA1 struct name is SHA_CTX (which is also used for SHA-0),
but function name is SHA1_Transform.
http://openssl.org/docs/man0.9.8/crypto/SHA1.html
also note that LibreSSL 2.3 remove the SHA-0 support but still support SHA-1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/digest/sha1')
-rw-r--r-- | ext/digest/sha1/extconf.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/digest/sha1/extconf.rb b/ext/digest/sha1/extconf.rb index b5c111f36e..03cbf66b5e 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", "SHA") +digest_conf("sha1", "sha", nil, %w[SHA]) have_header("sys/cdefs.h") |