Now that hcrypto supports DH, remove check for hx509 null DH.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17491 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1836,16 +1836,6 @@ krb5_get_init_creds_opt_set_pkinit(krb5_context context,
|
|||||||
|
|
||||||
if ((flags & 2) == 0) {
|
if ((flags & 2) == 0) {
|
||||||
const char *moduli_file;
|
const char *moduli_file;
|
||||||
const DH_METHOD *dhm;
|
|
||||||
|
|
||||||
dhm = DH_get_default_method();
|
|
||||||
if (strcmp(dhm->name, "hx509 null DH") == 0) {
|
|
||||||
krb5_set_error_string(context,
|
|
||||||
"pkinit uses dummy DH in libhcrypto, "
|
|
||||||
"please install DH engine");
|
|
||||||
_krb5_get_init_creds_opt_free_pkinit(opt);
|
|
||||||
return EINVAL;
|
|
||||||
}
|
|
||||||
|
|
||||||
moduli_file = krb5_config_get_string(context, NULL,
|
moduli_file = krb5_config_get_string(context, NULL,
|
||||||
"libdefaults",
|
"libdefaults",
|
||||||
|
Reference in New Issue
Block a user