summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/kadm5/alt_prof.c2
-rw-r--r--src/lib/krb5/krb/init_ctx.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/kadm5/alt_prof.c b/src/lib/kadm5/alt_prof.c
index ae9d84c7f..7ad59ab4d 100644
--- a/src/lib/kadm5/alt_prof.c
+++ b/src/lib/kadm5/alt_prof.c
@@ -749,7 +749,7 @@ krb5_error_code kadm5_get_config_params(context, use_kdc_config,
if (aprofile)
krb5_aprof_get_string(aprofile, hierarchy, TRUE, &svalue);
if (svalue == NULL)
- svalue = strdup("des3-hmac-sha1:normal des-cbc-crc:normal");
+ svalue = strdup(KRB5_DEFAULT_SUPPORTED_ENCTYPES);
params.keysalts = NULL;
params.num_keysalts = 0;
diff --git a/src/lib/krb5/krb/init_ctx.c b/src/lib/krb5/krb/init_ctx.c
index bab143e6f..69f7ad887 100644
--- a/src/lib/krb5/krb/init_ctx.c
+++ b/src/lib/krb5/krb/init_ctx.c
@@ -172,7 +172,7 @@ init_common (krb5_context *context, krb5_boolean secure, krb5_boolean kdc)
goto cleanup;
retval = profile_get_boolean(ctx->profile, "libdefaults",
- "allow_weak_crypto", NULL, 0, &tmp);
+ "allow_weak_crypto", NULL, 1, &tmp);
if (retval)
goto cleanup;
ctx->allow_weak_crypto = tmp;