Do not use the word 'modulus', which is a class template name in VC++ 6.0/SP5.
[openssl.git] / Configure
index f6a357b484a4e0b46b4864fc88e4b63739141e57..b459b05b154ef9211a1036b954ff60dff4d52014 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -747,7 +747,20 @@ PROCESS_ARGS:
                                $depflags .= "-DOPENSSL_NO_MDC2 ";
                                $openssl_algorithm_defines .= "#define OPENSSL_NO_MDC2\n";
                                }
-                       if ($algo eq "EC" || $algo eq "SHA" || $algo eq "SHA1")
+                       if ($algo eq "EC")
+                               {
+                               push @skip, "ecdsa";
+                               push @skip, "ecdh";
+                               $options .= " no-ecdsa";
+                               $options .= " no-ecdh";
+                               $flags .= "-DOPENSSL_NO_ECDSA ";
+                               $flags .= "-DOPENSSL_NO_ECDH ";
+                               $depflags .= "-DOPENSSL_NO_ECDSA ";
+                               $depflags .= "-DOPENSSL_NO_ECDH ";
+                               $openssl_algorithm_defines .= "#define OPENSSL_NO_ECDSA\n";
+                               $openssl_algorithm_defines .= "#define OPENSSL_NO_ECDH\n";
+                               }
+                       if ($algo eq "SHA" || $algo eq "SHA1")
                                {
                                push @skip, "ecdsa";
                                $options .= " no-ecdsa";