+Tue Sep 05 22:10:34 1995 Chris Provenzano (proven@mit.edu)
+
+ * kdc5_hammer.c : Remove krb5_enctype references, and replace with
+ krb5_keytype where appropriate
Wed Jul 12 12:31:51 EDT 1995 Paul Park (pjpark@mit.edu)
* configure.in - Remove V5_USE_SHARED_LIB
fprintf(stderr,
"usage: %s -p prefix -n num_to_check [-d dbpathname] [-r realmname]\n",
who);
- fprintf(stderr, "\t [-D depth] [-k keytype] [-e etype]\n");
+ fprintf(stderr, "\t [-D depth] [-k keytype]\n");
fprintf(stderr, "\t [-P preauth type] [-R repeat_count]\n");
exit(status);
}
static krb5_preauthtype * patype = NULL, patypedata[2] = { 0, -1 };
-static krb5_enctype etype = 0xffff;
static krb5_context test_context;
static krb5_keytype keytype;
keytype = atoi(optarg);
keytypedone++;
break;
- case 'e':
- etype = atoi(optarg);
- break;
case 'P':
patypedata[0] = atoi(optarg);
patype = patypedata;
exit(1);
}
- if (etype == 0xffff)
- etype = krb5_keytype_array[keytype]->system->proto_enctype;
-
- if (!valid_etype(etype)) {
- com_err(prog, KRB5_PROG_ETYPE_NOSUPP,
- "while setting up etype %d", etype);
- exit(1);
- }
-
if (ccache == NULL) {
if (code = krb5_cc_default(test_context, &ccache)) {
com_err(prog, code, "while getting default ccache");