From: Ezra Peisach Date: Wed, 25 Jul 2001 10:23:07 +0000 (+0000) Subject: * asn1_k_encode.c: (asn1_encode_predicted_sam_response): Use X-Git-Tag: krb5-1.3-alpha1~1176 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3d4abec3c1fdddcaccb4d63b718a8ec340d73a01;p=krb5.git * asn1_k_encode.c: (asn1_encode_predicted_sam_response): Use asn1_encode_charstring() instead of asn1_decode_octetstring() for krb5_data. (signed vs. unsigned) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13635 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/asn.1/ChangeLog b/src/lib/krb5/asn.1/ChangeLog index 7024cbfdd..7da653e20 100644 --- a/src/lib/krb5/asn.1/ChangeLog +++ b/src/lib/krb5/asn.1/ChangeLog @@ -1,3 +1,9 @@ +2001-07-24 Ezra Peisach + + * asn1_k_encode.c: (asn1_encode_predicted_sam_response): Use + asn1_encode_charstring() instead of asn1_decode_octetstring() for + krb5_data. (signed vs. unsigned) + 2001-06-12 Ezra Peisach * asn1_k_decode.c (asn1_decode_predicted_sam_response): Use diff --git a/src/lib/krb5/asn.1/asn1_k_encode.c b/src/lib/krb5/asn.1/asn1_k_encode.c index 2cfdd6ff6..fa3d5cdaf 100644 --- a/src/lib/krb5/asn.1/asn1_k_encode.c +++ b/src/lib/krb5/asn.1/asn1_k_encode.c @@ -954,7 +954,7 @@ asn1_error_code asn1_encode_predicted_sam_response(buf, val, retlen) { asn1_setup(); - add_optstring(val->msd,6,asn1_encode_octetstring); + add_optstring(val->msd,6,asn1_encode_charstring); asn1_addfield(val->client,5,asn1_encode_principal_name); asn1_addfield(val->client,4,asn1_encode_realm); asn1_addfield(val->susec,3,asn1_encode_integer);