krb524_convert_creds_addr.
(krb4_print_ticket): issue_time should be a KRB4_32
encode.c (encode_v4tkt): Cast a the unsigned long mbz field of KTEXT to
krb5_int32 for call to encode_int32.
conv_creds.c (krb524_convert_creds_addr): Cast sockaddr * to sockaddr_in *.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5962
dc483132-0cff-0310-8789-
dd5450dbe970
+Tue Jun 6 20:59:56 1995 Ezra Peisach <epeisach@kangaroo.mit.edu>
+
+ * test.c (do_remote): Case sockaddr_in * to sockaddr * in calling
+ krb524_convert_creds_addr.
+ (krb4_print_ticket): issue_time should be a KRB4_32
+
+ * encode.c (encode_v4tkt): Cast a the unsigned long mbz field of
+ KTEXT to krb5_int32 for call to encode_int32.
+
+ * conv_creds.c (krb524_convert_creds_addr): Cast sockaddr * to
+ sockaddr_in *.
Tue Jun 6 17:25:20 EDT 1995 Paul Park (pjpark@mit.edu)
* Makefile.in : Change $(ARCHIVE) to $(ARADD) so that updates to the
return krb524_convert_tkt(v5creds->server, &v5creds->ticket,
&v4creds->ticket_st,
&v4creds->kvno,
- saddr);
+ (struct sockaddr_in *) saddr);
}
int krb524_convert_creds_kdc(context, v5creds, v4creds)
return ret;
if ((ret = encode_bytes(&buf, &buflen, v4tkt->dat, MAX_KTXT_LEN)))
return ret;
- if ((ret = encode_int32(&buf, &buflen, &v4tkt->mbz)))
+ if ((ret = encode_int32(&buf, &buflen, (krb5_int32 *) &v4tkt->mbz)))
return ret;
*encoded_len -= buflen;
return ret;
if ((ret = decode_bytes(&buf, &buflen, v4tkt->dat, MAX_KTXT_LEN)))
return ret;
- if ((ret = decode_int32(&buf, &buflen, &v4tkt->mbz)))
+ if ((ret = decode_int32(&buf, &buflen, (krb5_int32 *) &v4tkt->mbz)))
return ret;
*encoded_len -= buflen;
return 0;
char pname[ANAME_SZ], pinst[INST_SZ], prealm[REALM_SZ];
char sname[ANAME_SZ], sinst[INST_SZ];
unsigned char flags;
- unsigned long addr, issue_time;
+ unsigned long addr;
+ unsigned KRB4_32 issue_time;
C_Block session_key;
int life;
Key_schedule keysched;
sizeof(struct in_addr));
if ((ret = krb524_convert_creds_addr(context, v5creds, &v4creds,
- &saddr))) {
+ (struct sockaddr *) &saddr))) {
com_err("test", ret, "converting credentials on %s",
server);
exit(1);