+Wed Sep 06 14:20:57 1995 Chris Provenzano (proven@mit.edu)
+
+ * get_cred.c, mk_priv.c, mk_safe.c, rd_priv.c, rd_req.c, rd_safe.c,
+ * set_key.c : s/keytype/enctype/g, s/KEYTYPE/ENCTYPE/g
+
Thu Jul 13 19:47:47 1995 Sam Hartman <hartmans@tertius.mit.edu>
* rd_priv.c rd_safe.c: Include netinet/in.h
creds.client = client_principal;
creds.times.endtime = 0;
- creds.keyblock.keytype = KEYTYPE_DES;
+ creds.keyblock.enctype = ENCTYPE_DES;
r = krb5_get_credentials(0, _krb425_ccache, &creds);
if (r)
char sa[4], ra[4];
krb5_rcache rcache;
- keyb.keytype = KEYTYPE_DES;
+ keyb.enctype = ENCTYPE_DES;
keyb.length = sizeof(des_cblock);
keyb.contents = (krb5_octet *)key;
return(-1);
}
r = krb5_mk_priv(&inbuf,
- KEYTYPE_DES,
+ ENCTYPE_DES,
&keyb,
saddr2, &raddr,
0, /* no sequence number */
char sa[4], ra[4];
krb5_rcache rcache;
- keyb.keytype = KEYTYPE_DES;
+ keyb.enctype = ENCTYPE_DES;
keyb.length = sizeof(des_cblock);
keyb.contents = (krb5_octet *)key;
krb5_rcache rcache;
char *cachename;
- keyb.keytype = KEYTYPE_DES;
+ keyb.enctype = ENCTYPE_DES;
keyb.length = sizeof(des_cblock);
keyb.contents = (krb5_octet *)key;
ad->checksum = *(long *)authdat->authenticator->checksum->contents;
- if (authdat->ticket->enc_part2->session->keytype != KEYTYPE_DES) {
+ if (authdat->ticket->enc_part2->session->enctype != ENCTYPE_DES) {
r = KFAILURE;
goto out;
} else
krb5_rcache rcache;
char *cachename;
- keyb.keytype = KEYTYPE_DES;
+ keyb.enctype = ENCTYPE_DES;
keyb.length = sizeof(des_cblock);
keyb.contents = (krb5_octet *)key;
if (cvt) {
if (_krb425_servkey.contents)
krb5_xfree(_krb425_servkey.contents);
- mit_des_string_to_key(KEYTYPE_DES, &_krb425_servkey, 0, 0);
+ mit_des_string_to_key(ENCTYPE_DES, &_krb425_servkey, 0, 0);
} else {
if (!_krb425_servkey.contents &&
!(_krb425_servkey.contents = (krb5_octet *)malloc(8))) {
return(KFAILURE);
}
_krb425_servkey.length = 8;
- _krb425_servkey.keytype = KEYTYPE_DES;
+ _krb425_servkey.enctype = ENCTYPE_DES;
memcpy((char *)_krb425_servkey.contents, (char *)key, 8);
}
return(KSUCCESS);