+Wed Sep 13 10:51:31 1995 Keith Vetter (keithv@fusion.com)
+
+ * asn1_k_decode.c, asn1_k_encode.c, krb5_dec.c, krb5_enc.c: 32
+ bit word being passed as an int.
+
Wed Sep 20 11:50:35 1995 Ezra Peisach <epeisach@kangaroo.mit.edu>
* krb5_decode.c (setup_buf_only): Declare cleanup routine as
{ begin_structure();
get_field(val->etype,0,asn1_decode_ui_4);
if (tagnum == 1) {
- get_lenfield(val->length,val->salt,1,asn1_decode_octetstring);
+ get_lenfield((int) val->length,val->salt,1,asn1_decode_octetstring);
} else {
val->length = 0;
val->salt = 0;
return ASN1_MISSING_FIELD;
if (val->length)
- asn1_addlenfield(val->length,val->salt,1,
+ asn1_addlenfield((int) val->length,val->salt,1,
asn1_encode_octetstring);
asn1_addfield(val->etype,0,asn1_encode_integer);
asn1_makeseq();
setup(free);
alloc_field(*rep,krb5_alt_method);
{ begin_structure();
- get_field((*rep)->method,0,asn1_decode_int);
+ get_field((int) (*rep)->method,0,asn1_decode_int);
if (tagnum == 1) {
- get_lenfield((*rep)->length,(*rep)->data,1,asn1_decode_octetstring);
+ get_lenfield((int) (*rep)->length,(*rep)->data,1,asn1_decode_octetstring);
} else {
(*rep)->length = 0;
(*rep)->data = 0;
/* method-data[1] OctetString OPTIONAL */
if(rep->data != NULL && rep->length > 0)
- krb5_addlenfield(rep->length,rep->data,1,asn1_encode_octetstring);
+ krb5_addlenfield((int) rep->length,rep->data,1,asn1_encode_octetstring);
/* method-type[0] Integer */
krb5_addfield(rep->method,0,asn1_encode_integer);