-2000-02-06 Ken Raeburn <raeburn@raeburn.org>
+2000-02-06 Ken Raeburn <raeburn@mit.edu>
+ Patches from Frank Cusack for helping in preauth replay
+ detection.
* asn1_k_decode.c (asn1_decode_enc_sam_response_enc): Update for
field name change.
- * asn1_k_encode.c (asn1_encode_enc_sam_response_enc): Likewise.
+ (asn1_decode_predicted_sam_response): Handle new fields.
+ * asn1_k_encode.c (asn1_encode_enc_sam_response_enc): Update for
+ field name change.
+ (asn1_encode_predicted_sam_response): Handle new fields.
2000-02-01 Danilo Almeida <dalmeida@mit.edu>
setup();
{ begin_structure();
get_field(val->sam_key,0,asn1_decode_encryption_key);
+ get_field(val->stime,1,asn1_decode_kerberos_time);
+ get_field(val->susec,2,asn1_decode_int32);
+ alloc_field(val->client,krb5_principal_data);
+ get_field(val->client,3,asn1_decode_realm);
+ get_field(val->client,4,asn1_decode_principal_name);
+ opt_string(val->msd,5,asn1_decode_octectstring);
end_structure();
val->magic = KV5M_PREDICTED_SAM_RESPONSE;
}
{
asn1_setup();
+ add_optstring(val->msd,5,asn1_encode_octetstring);
+ asn1_addfield(val->client,4,asn1_encode_principal_name);
+ asn1_addfield(val->client,3,asn1_encode_realm);
+ asn1_addfield(val->susec,2,asn1_encode_integer);
+ asn1_addfield(val->stime,1,asn1_encode_kerberos_time);
asn1_addfield(&(val->sam_key),0,asn1_encode_encryption_key);
asn1_makeseq();
2000-02-06 Ken Raeburn <raeburn@raeburn.org>
+ Patches from Frank Cusack:
* kfree.c (krb5_free_predicted_sam_response_contents): Fix typo.
Free new data fields if needed.
(krb5_free_enc_sam_response_enc_contents): Update for field name