Make no-ec work
This commit is contained in:
parent
d07692cd96
commit
fe41d9853c
@ -918,6 +918,11 @@ if (defined($disabled{"tls1"}))
|
|||||||
$disabled{"tlsext"} = "forced";
|
$disabled{"tlsext"} = "forced";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (defined($disabled{"ec"}))
|
||||||
|
{
|
||||||
|
$disabled{"gost"} = "forced";
|
||||||
|
}
|
||||||
|
|
||||||
if ($target eq "TABLE") {
|
if ($target eq "TABLE") {
|
||||||
foreach $target (sort keys %table) {
|
foreach $target (sort keys %table) {
|
||||||
print_table_entry($target);
|
print_table_entry($target);
|
||||||
|
@ -400,4 +400,10 @@ end:
|
|||||||
apps_shutdown();
|
apps_shutdown();
|
||||||
OPENSSL_EXIT(ret);
|
OPENSSL_EXIT(ret);
|
||||||
}
|
}
|
||||||
|
#else /* !OPENSSL_NO_EC */
|
||||||
|
|
||||||
|
# if PEDANTIC
|
||||||
|
static void *dummy=&dummy;
|
||||||
|
# endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -725,4 +725,10 @@ static int ecparam_print_var(BIO *out, BIGNUM *in, const char *var,
|
|||||||
BIO_printf(out, "\n\t};\n\n");
|
BIO_printf(out, "\n\t};\n\n");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
#else /* !OPENSSL_NO_EC */
|
||||||
|
|
||||||
|
# if PEDANTIC
|
||||||
|
static void *dummy=&dummy;
|
||||||
|
# endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -80,7 +80,9 @@ static const EVP_PKEY_METHOD *standard_methods[] =
|
|||||||
&rsa_pkey_meth,
|
&rsa_pkey_meth,
|
||||||
&dh_pkey_meth,
|
&dh_pkey_meth,
|
||||||
&dsa_pkey_meth,
|
&dsa_pkey_meth,
|
||||||
|
#ifndef OPENSSL_NO_EC
|
||||||
&ec_pkey_meth,
|
&ec_pkey_meth,
|
||||||
|
#endif
|
||||||
&hmac_pkey_meth,
|
&hmac_pkey_meth,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user