diff options
author | Ezra Peisach <epeisach@mit.edu> | 2003-05-20 14:34:53 +0000 |
---|---|---|
committer | Ezra Peisach <epeisach@mit.edu> | 2003-05-20 14:34:53 +0000 |
commit | c58091d98f1d25aab05a33795ca7bfe2ce5a9aa9 (patch) | |
tree | a952a17d992b6695e26d107b0f8e30ca6404f9dc /src/lib/krb5/asn.1/asn1_k_decode.c | |
parent | 2fa979aa62ae6fb4a258b0f600de82767c3a606f (diff) | |
download | krb5-c58091d98f1d25aab05a33795ca7bfe2ce5a9aa9.zip krb5-c58091d98f1d25aab05a33795ca7bfe2ce5a9aa9.tar.gz krb5-c58091d98f1d25aab05a33795ca7bfe2ce5a9aa9.tar.bz2 |
* asn1_k_encode.c (asn1_encode_krb_safe_body): Use
asn1_encode_unsigned_integer for sequence number.
* asn1_k_decode.c (asn1_decode_krb_safe_body): Use
asn1_decode_seqnum to decode sequence number.
ticket: 1262
status: open
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15460 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/krb5/asn.1/asn1_k_decode.c')
-rw-r--r-- | src/lib/krb5/asn.1/asn1_k_decode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/krb5/asn.1/asn1_k_decode.c b/src/lib/krb5/asn.1/asn1_k_decode.c index f00cb01..28e3e98 100644 --- a/src/lib/krb5/asn.1/asn1_k_decode.c +++ b/src/lib/krb5/asn.1/asn1_k_decode.c @@ -605,7 +605,7 @@ asn1_error_code asn1_decode_krb_safe_body(asn1buf *buf, krb5_safe *val) get_lenfield(val->user_data.length,val->user_data.data,0,asn1_decode_charstring); opt_field(val->timestamp,1,asn1_decode_kerberos_time,0); opt_field(val->usec,2,asn1_decode_int32,0); - opt_field(val->seq_number,3,asn1_decode_int32,0); + opt_field(val->seq_number,3,asn1_decode_seqnum,0); alloc_field(val->s_address,krb5_address); get_field(*(val->s_address),4,asn1_decode_host_address); if(tagnum == 5){ |