From: John Kohl Date: Tue, 20 Nov 1990 13:19:29 +0000 (+0000) Subject: use default keytypes/etypes X-Git-Tag: krb5-1.0-alpha3~115 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=690632d6c32cb892a108034ebf601137c4b960b6;p=krb5.git use default keytypes/etypes git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1478 dc483132-0cff-0310-8789-dd5450dbe970 --- 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,