aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorMat <mberchtold@gmail.com>2016-03-11 18:26:57 +0100
committerRich Salz <rsalz@openssl.org>2016-03-11 14:34:26 -0500
commit0a0365256c097fe2ec91c3d1111495d2444cf36d (patch)
treec50a275358c22210870dbe35ddd710cdeab0457a /util
parentbf8bdbc678caacf5f91b7e669422862c2d0583c9 (diff)
downloadopenssl-0a0365256c097fe2ec91c3d1111495d2444cf36d.tar.gz
Fix no-blake2 for Windows classic build
Fix no-blake2 for Windows classic build Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'util')
-rwxr-xr-xutil/mk1mf.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/util/mk1mf.pl b/util/mk1mf.pl
index 209113fea1..905392cb10 100755
--- a/util/mk1mf.pl
+++ b/util/mk1mf.pl
@@ -135,6 +135,7 @@ foreach (@ARGV)
and [options] can be one of
no-md2 no-md4 no-md5 no-sha no-mdc2 - Skip this digest
no-rmd160
+ no-blake2 - No blake2
no-rc2 no-rc4 no-rc5 no-idea no-des - Skip this symetric cipher
no-bf no-cast no-aes no-camellia no-seed
no-rsa no-dsa no-dh - Skip this public key cipher
@@ -284,6 +285,7 @@ $cflags.=" -DOPENSSL_NO_MD2" if $no_md2;
$cflags.=" -DOPENSSL_NO_MD4" if $no_md4;
$cflags.=" -DOPENSSL_NO_MD5" if $no_md5;
$cflags.=" -DOPENSSL_NO_RMD160" if $no_ripemd;
+$cflags.=" -DOPENSSL_NO_BLAKE2" if $no_blake2;
$cflags.=" -DOPENSSL_NO_MDC2" if $no_mdc2;
$cflags.=" -DOPENSSL_NO_BF" if $no_bf;
$cflags.=" -DOPENSSL_NO_CAST" if $no_cast;
@@ -1073,6 +1075,7 @@ sub var_add
@a=grep(!/(^md4)|(_md4$)/,@a) if $no_md4;
@a=grep(!/(^md5)|(_md5$)/,@a) if $no_md5;
@a=grep(!/(rmd)|(ripemd)/,@a) if $no_ripemd;
+ @a=grep(!/(^blake)/,@a) if $no_blake2;
@a=grep(!/(^d2i_r_)|(^i2d_r_)/,@a) if $no_rsa;
@a=grep(!/(^p_open$)/,@a) if $no_rsa;
@@ -1378,6 +1381,7 @@ sub read_options
"no-md4" => \$no_md4,
"no-md5" => \$no_md5,
"no-rmd160" => \$no_ripemd,
+ "no-blake2" => \$no_blake2,
"no-mdc2" => \$no_mdc2,
"no-whirlpool" => \$no_whirlpool,
"no-patents" =>