Skip to content

Commit cce9ada

Browse files
committed
Use CommonDigest by default if available
1 parent 6e024a3 commit cce9ada

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/digest/digest_conf.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
def digest_conf(name)
44
unless with_config("bundled-#{name}")
55
cc = with_config("common-digest")
6-
if cc == true or /\b#{name}\b/ =~ cc
6+
if cc != false or /\b#{name}\b/ =~ cc
77
if File.exist?("#$srcdir/#{name}cc.h") and
88
have_header("CommonCrypto/CommonDigest.h")
99
$defs << "-D#{name.upcase}_USE_COMMONDIGEST"

0 commit comments

Comments
 (0)