+Thu Nov 10 21:51:55 1994 Theodore Y. Ts'o (tytso@dcl)
+
+ * asn1_decode_k.c (asn1_decode_principal_name,
+ asn1_decode_checksum, asn1_decode_encrypted_data,
+ asn1_decode_transited_encoding,
+ asn1_decode_enc_kdc_rep_part, asn1_decode_ticket,
+ asn1_decode_kdc_req, asn1_decode_kdc_req_body,
+ asn1_decode_safe_body, asn1_decode_host_address,
+ asn1_decode_kdc_rep, asn1_decode_authdata_elt,
+ asn1_decode_krb_cred_info, asn1_decode_pa_data,
+ asn1_decode_last_req_entry): Initialize magic number field
+ in the relevant structures.
+
+ * asn1_decode_k.c (asn1_decode_encryption_key): Add appropriate
+ magic number and encryption type.
+
Wed Nov 2 23:10:36 1994 Theodore Y. Ts'o (tytso@dcl)
* configure.in: Add WITH_CPPOPTS since we're not using
end_sequence_of(&subbuf);
}
end_structure();
+ (*val)->magic = KV5M_PRINCIPAL;
}
cleanup();
}
get_field(val->checksum_type,0,asn1_decode_cksumtype);
get_lenfield(val->length,val->contents,1,asn1_decode_octetstring);
end_structure();
+ val->magic = KV5M_CHECKSUM;
}
cleanup();
}
get_field(val->keytype,0,asn1_decode_keytype);
get_lenfield(val->length,val->contents,1,asn1_decode_octetstring);
end_structure();
+ val->magic = KV5M_KEYBLOCK;
+ val->etype = ETYPE_UNKNOWN;
}
cleanup();
}
opt_field(val->kvno,1,asn1_decode_kvno,0);
get_lenfield(val->ciphertext.length,val->ciphertext.data,2,asn1_decode_charstring);
end_structure();
+ val->magic = KV5M_ENC_DATA;
}
cleanup();
}
get_field(val->tr_type,0,asn1_decode_octet);
get_lenfield(val->tr_contents.length,val->tr_contents.data,1,asn1_decode_charstring);
end_structure();
+ val->magic = KV5M_TRANSITED;
}
cleanup();
}
get_field(val->server,10,asn1_decode_principal_name);
opt_field(val->caddrs,11,asn1_decode_host_addresses,NULL);
end_structure();
+ val->magic = KV5M_ENC_KDC_REP_PART;
}
cleanup();
}
get_field(val->server,2,asn1_decode_principal_name);
get_field(val->enc_part,3,asn1_decode_encrypted_data);
end_structure();
+ val->magic = KV5M_TICKET;
}
cleanup();
}
opt_field(val->padata,3,asn1_decode_sequence_of_pa_data,NULL);
get_field(*val,4,asn1_decode_kdc_req_body);
end_structure();
+ val->magic = KV5M_KDC_REQ;
}
cleanup();
}
}
opt_field(val->second_ticket,11,asn1_decode_sequence_of_ticket,NULL);
end_structure();
+ val->magic = KV5M_KDC_REQ;
}
cleanup();
}
get_field(*(val->r_address),5,asn1_decode_host_address);
} else val->r_address = NULL;
end_structure();
+ val->magic = KV5M_SAFE;
}
cleanup();
}
get_field(val->addrtype,0,asn1_decode_addrtype);
get_lenfield(val->length,val->contents,1,asn1_decode_octetstring);
end_structure();
+ val->magic = KV5M_ADDRESS;
}
cleanup();
}
get_field(*(val->ticket),5,asn1_decode_ticket);
get_field(val->enc_part,6,asn1_decode_encrypted_data);
end_structure();
+ val->magic = KV5M_KDC_REP;
}
cleanup();
}
get_field(val->ad_type,0,asn1_decode_authdatatype);
get_lenfield(val->length,val->contents,1,asn1_decode_octetstring);
end_structure();
+ val->magic = KV5M_AUTHDATA;
}
cleanup();
}
opt_field(val->server,9,asn1_decode_principal_name,NULL); }
opt_field(val->caddrs,10,asn1_decode_host_addresses,NULL);
end_structure();
+ val->magic = KV5M_CRED_INFO;
}
cleanup();
}
get_field(val->pa_type,1,asn1_decode_ui_2);
get_lenfield(val->length,val->contents,2,asn1_decode_octetstring);
end_structure();
+ val->magic = KV5M_PA_DATA;
}
cleanup();
}
get_field(val->lr_type,0,asn1_decode_octet);
get_field(val->value,1,asn1_decode_kerberos_time);
end_structure();
+ val->magic = KV5M_LAST_REQ_ENTRY;
}
cleanup();
}