summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2002-04-20 10:23:56 +0000
committerRichard Levitte <levitte@openssl.org>2002-04-20 10:23:56 +0000
commit01682a8b3c67a7f09b2696862bd6b3cb30b12e13 (patch)
tree96a82c264d15da8162a7ee61e09c44b09b64013b /util
parent8b07f23c30cbab65054b4c1df6c1a0c4432ea3d9 (diff)
Make sure ec and ecdsa is properly handled in Windows.
Notified by Bernd Matthes <bernd.matthes@gemplus.com>
Diffstat (limited to 'util')
-rwxr-xr-xutil/mk1mf.pl8
-rwxr-xr-xutil/mkfiles.pl1
2 files changed, 8 insertions, 1 deletions
diff --git a/util/mk1mf.pl b/util/mk1mf.pl
index fdaf642c65..1f8b839e41 100755
--- a/util/mk1mf.pl
+++ b/util/mk1mf.pl
@@ -62,6 +62,8 @@ and [options] can be one of
just-ssl - remove all non-ssl keys/digest
no-asm - No x86 asm
no-krb5 - No KRB5
+ no-ec - No EC
+ no-ecdsa - No ECDSA
nasm - Use NASM for x86 asm
gaswin - Use GNU as with Mingw32
no-socks - No socket code
@@ -224,7 +226,9 @@ $cflags.=" -DOPENSSL_NO_SOCK" if $no_sock;
$cflags.=" -DOPENSSL_NO_SSL2" if $no_ssl2;
$cflags.=" -DOPENSSL_NO_SSL3" if $no_ssl3;
$cflags.=" -DOPENSSL_NO_ERR" if $no_err;
-$cflags.=" -DOPENSSL_NO_KRB5" if $no_krb5;
+$cflags.=" -DOPENSSL_NO_KRB5" if $no_krb5;
+$cflags.=" -DOPENSSL_NO_EC" if $no_ec;
+$cflags.=" -DOPENSSL_NO_ECDSA" if $no_ecdsa;
#$cflags.=" -DRSAref" if $rsaref ne "";
## if ($unix)
@@ -882,6 +886,8 @@ sub read_options
elsif (/^no-err$/) { $no_err=1; }
elsif (/^no-sock$/) { $no_sock=1; }
elsif (/^no-krb5$/) { $no_krb5=1; }
+ elsif (/^no-ec$/) { $no_ec=1; }
+ elsif (/^no-ecdsa$/) { $no_ecdsa=1; }
elsif (/^just-ssl$/) { $no_rc2=$no_idea=$no_des=$no_bf=$no_cast=1;
$no_md2=$no_sha=$no_mdc2=$no_dsa=$no_dh=1;
diff --git a/util/mkfiles.pl b/util/mkfiles.pl
index 29e1404c69..0ae8695bec 100755
--- a/util/mkfiles.pl
+++ b/util/mkfiles.pl
@@ -30,6 +30,7 @@ my @dirs = (
"crypto/dso",
"crypto/dh",
"crypto/ec",
+"crypto/ecdsa",
"crypto/buffer",
"crypto/bio",
"crypto/stack",