From 690632d6c32cb892a108034ebf601137c4b960b6 Mon Sep 17 00:00:00 2001 From: John Kohl Date: Tue, 20 Nov 1990 13:19:29 +0000 Subject: [PATCH] use default keytypes/etypes git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1478 dc483132-0cff-0310-8789-dd5450dbe970 --- src/admin/create/kdb5_create.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/admin/create/kdb5_create.c b/src/admin/create/kdb5_create.c index 060caf048..3bbe5f6db 100644 --- a/src/admin/create/kdb5_create.c +++ b/src/admin/create/kdb5_create.c @@ -152,7 +152,7 @@ char *argv[]; } if (!keytypedone) - master_keyblock.keytype = KEYTYPE_DES; + master_keyblock.keytype = DEFAULT_KDC_KEYTYPE; if (!valid_keytype(master_keyblock.keytype)) { com_err(argv[0], KRB5_PROG_KEYTYPE_NOSUPP, @@ -161,7 +161,7 @@ char *argv[]; } if (etype == 0xffff) - etype = krb5_keytype_array[master_keyblock.keytype]->system->proto_enctype; + etype = DEFAULT_KDC_ETYPE; if (!valid_etype(etype)) { com_err(argv[0], KRB5_PROG_ETYPE_NOSUPP, -- 2.26.2