From: Chris Provenzano Date: Wed, 6 Sep 1995 19:02:41 +0000 (+0000) Subject: * kadmin5.c : s/keytype/enctype/g, s/KEYTYPE/ENCTYPE/g X-Git-Tag: krb5-1.0-beta6~1156 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=aac77f4a9b67ba578896315676553fbcf2d64b0a;p=krb5.git * kadmin5.c : s/keytype/enctype/g, s/KEYTYPE/ENCTYPE/g git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6705 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/kadmin/v5client/ChangeLog b/src/kadmin/v5client/ChangeLog index bbe858ff0..05dbd1f11 100644 --- a/src/kadmin/v5client/ChangeLog +++ b/src/kadmin/v5client/ChangeLog @@ -1,3 +1,6 @@ +Wed Sep 06 14:20:57 1995 Chris Provenzano (proven@mit.edu) + + * kadmin5.c : s/keytype/enctype/g, s/KEYTYPE/ENCTYPE/g Mon Aug 21 17:02:52 EDT 1995 Paul Park (pjpark@mit.edu) * kadmin5.M - Remove description of flags since this should be in a diff --git a/src/kadmin/v5client/kadmin5.c b/src/kadmin/v5client/kadmin5.c index 8f533d7ca..749cf0d3a 100644 --- a/src/kadmin/v5client/kadmin5.c +++ b/src/kadmin/v5client/kadmin5.c @@ -123,13 +123,13 @@ static const char *cpw_nochange_fmt = "password not changed for %s"; static const char *akt_usage_fmt = "usage is %s principal [key:salt]+"; static const char *akt_prompt1_fmt = " Enter current password for %s: "; static const char *akt_prompt2_fmt = "Re-enter current password for %s: "; -static const char *akt_succ_fmt = "keytypes successfully added for %s"; -static const char *akt_nochange_fmt = "keytypes not added for %s"; +static const char *akt_succ_fmt = "enctypes successfully added for %s"; +static const char *akt_nochange_fmt = "enctypes not added for %s"; static const char *dkt_usage_fmt = "usage is %s principal [key:salt[:kvno]]+"; static const char *dkt_prompt1_fmt = " Enter current password for %s: "; static const char *dkt_prompt2_fmt = "Re-enter current password for %s: "; -static const char *dkt_succ_fmt = "keytypes successfully deleted for %s"; -static const char *dkt_nochange_fmt = "keytypes not deleted for %s"; +static const char *dkt_succ_fmt = "enctypes successfully deleted for %s"; +static const char *dkt_nochange_fmt = "enctypes not deleted for %s"; static const char *dprinc_usage_fmt = "usage is %s [%s] principal [...]"; static const char *del_conf_fmt = "Enter '%c' to delete principal %s: "; static const char del_conf_char = 'y'; @@ -288,7 +288,7 @@ kadmin_print_entry(name, valid, dbentp) krb5_tl_mod_princ *modprinc; krb5_timestamp now; int i; - char keytype[128]; + char enctype[128]; char salttype[128]; printf(db_print_header); @@ -336,15 +336,15 @@ kadmin_print_entry(name, valid, dbentp) } } for (i=0; in_key_data; i++) { - krb5_keytype_to_string((krb5_keytype) dbentp->key_data[i]. + krb5_enctype_to_string((krb5_enctype) dbentp->key_data[i]. key_data_type[0], - keytype, - sizeof(keytype)); - krb5_salttype_to_string((krb5_keytype) dbentp->key_data[i]. + enctype, + sizeof(enctype)); + krb5_salttype_to_string((krb5_enctype) dbentp->key_data[i]. key_data_type[1], salttype, sizeof(salttype)); - printf(db_print_9_fmt, keytype, salttype, + printf(db_print_9_fmt, enctype, salttype, (int) dbentp->key_data[i].key_data_kvno); } @@ -1076,7 +1076,7 @@ kadmin_extract_v4(argc, argv) ncomps, complist, &keytab_entry))) { - if (keytab_entry.key.keytype != 1) { + if (keytab_entry.key.enctype != 1) { com_err(requestname, 0, xst_nodeskey_fmt, argv[i]); break; }