* asn1_k_encode.c: (asn1_encode_predicted_sam_response): Use
authorEzra Peisach <epeisach@mit.edu>
Wed, 25 Jul 2001 10:23:07 +0000 (10:23 +0000)
committerEzra Peisach <epeisach@mit.edu>
Wed, 25 Jul 2001 10:23:07 +0000 (10:23 +0000)
        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

src/lib/krb5/asn.1/ChangeLog
src/lib/krb5/asn.1/asn1_k_encode.c

index 7024cbfdd5a10ced09cde5532fa2b12daf910286..7da653e20d1bb8860df20415645e2a6d232f4897 100644 (file)
@@ -1,3 +1,9 @@
+2001-07-24  Ezra Peisach  <epeisach@mit.edu>
+
+       * 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  <epeisach@mit.edu>
 
        * asn1_k_decode.c (asn1_decode_predicted_sam_response): Use
index 2cfdd6ff6e13c54a3844c5c534b84f61911191fe..fa3d5cdaf18c3ebf19b33fd9ca3a92e3e9ae7c96 100644 (file)
@@ -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);