diff options
author | Tom Yu <tlyu@mit.edu> | 2009-01-22 23:21:11 +0000 |
---|---|---|
committer | Tom Yu <tlyu@mit.edu> | 2009-01-22 23:21:11 +0000 |
commit | f391d18be3aa3de52b391596bd8025010281cfb7 (patch) | |
tree | c5c4d97d09ea4adfe82d70a057c5e6f785037340 /src/lib/krb5/asn.1/asn1_k_decode.c | |
parent | 6422c0b5646f4f8e40108c167c50d7aea9abb6da (diff) | |
download | krb5-f391d18be3aa3de52b391596bd8025010281cfb7.zip krb5-f391d18be3aa3de52b391596bd8025010281cfb7.tar.gz krb5-f391d18be3aa3de52b391596bd8025010281cfb7.tar.bz2 |
whitespace
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21778 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 | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/lib/krb5/asn.1/asn1_k_decode.c b/src/lib/krb5/asn.1/asn1_k_decode.c index b4dbd2f..035aff1 100644 --- a/src/lib/krb5/asn.1/asn1_k_decode.c +++ b/src/lib/krb5/asn.1/asn1_k_decode.c @@ -1193,13 +1193,13 @@ asn1_error_code asn1_decode_setpw_req(asn1buf *buf, krb5_data *newpasswd, krb5_p *principal = NULL; { begin_structure(); - get_lenfield(newpasswd->length, newpasswd->data, 0, asn1_decode_charstring); - if (tagnum == 1) { - alloc_field(*principal, krb5_principal_data); - opt_field(*principal, 1, asn1_decode_principal_name, 0); - opt_field(*principal, 2, asn1_decode_realm, 0); - } - end_structure(); + get_lenfield(newpasswd->length, newpasswd->data, 0, asn1_decode_charstring); + if (tagnum == 1) { + alloc_field(*principal, krb5_principal_data); + opt_field(*principal, 1, asn1_decode_principal_name, 0); + opt_field(*principal, 2, asn1_decode_realm, 0); + } + end_structure(); } cleanup(); } @@ -1208,11 +1208,11 @@ asn1_error_code asn1_decode_pa_for_user(asn1buf *buf, krb5_pa_for_user *val) { setup(); { begin_structure(); - get_field(val->user,0,asn1_decode_principal_name); - get_field(val->user,1,asn1_decode_realm); - get_field(val->cksum,2,asn1_decode_checksum); - get_lenfield(val->auth_package.length,val->auth_package.data,3,asn1_decode_generalstring); - end_structure(); + get_field(val->user,0,asn1_decode_principal_name); + get_field(val->user,1,asn1_decode_realm); + get_field(val->cksum,2,asn1_decode_checksum); + get_lenfield(val->auth_package.length,val->auth_package.data,3,asn1_decode_generalstring); + end_structure(); } cleanup(); } @@ -1221,8 +1221,8 @@ asn1_error_code asn1_decode_pa_pac_req(asn1buf *buf, krb5_pa_pac_req *val) { setup(); { begin_structure(); - get_field(val->include_pac,0,asn1_decode_boolean); - end_structure(); + get_field(val->include_pac,0,asn1_decode_boolean); + end_structure(); } cleanup(); } |