mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/digest/sha2/extconf.rb: check SHA256_CTX and SHA512_CTX to fix
compilation failure on OpenBSD 4.4. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
4131d6176a
commit
c50c9f6d3b
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Wed Apr 21 21:24:20 2010 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* ext/digest/sha2/extconf.rb: check SHA256_CTX and SHA512_CTX to fix
|
||||
compilation failure on OpenBSD 4.4.
|
||||
|
||||
Wed Apr 21 15:13:10 2010 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* io.c (io_getc): fix incomplete character immediately before EOF
|
||||
|
|
|
@ -12,7 +12,8 @@ dir_config("openssl")
|
|||
|
||||
if !with_config("bundled-sha2") &&
|
||||
have_library("crypto") &&
|
||||
%w[SHA256 SHA512].all? {|d| have_func("#{d}_Transform", "openssl/sha.h")}
|
||||
%w[SHA256 SHA512].all? {|d| have_func("#{d}_Transform", "openssl/sha.h")} &&
|
||||
%w[SHA256 SHA512].all? {|d| have_type("#{d}_CTX", "openssl/sha.h")}
|
||||
$objs << "sha2ossl.#{$OBJEXT}"
|
||||
$defs << "-DSHA2_USE_OPENSSL"
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue