- 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";
- $flags .= "-DOPENSSL_NO_ECDSA ";
- $depflags .= "-DOPENSSL_NO_ECDSA ";
- $openssl_algorithm_defines .= "#define OPENSSL_NO_ECDSA\n";
- }
- if ($algo eq "MD5")
- {
- $no_md5 = 1;
- }
- if ($algo eq "SHA")
- {
- $no_sha = 1;
- }
- if ($algo eq "RSA")
- {
- $no_rsa = 1;
- }
- if ($algo eq "DH")