svn rev #22155: branches/fast/src/ include/ lib/krb5/asn.1/
hartmans@MIT.EDU
hartmans at MIT.EDU
Wed Apr 1 17:13:31 EDT 2009
http://src.mit.edu/fisheye/changelog/krb5/?cs=22155
Commit By: hartmans
Log Message:
fast_options is a KerberosFlags not an int32
Changed Files:
U branches/fast/src/include/k5-int.h
U branches/fast/src/lib/krb5/asn.1/asn1_k_encode.c
U branches/fast/src/lib/krb5/asn.1/krb5_decode.c
Modified: branches/fast/src/include/k5-int.h
===================================================================
--- branches/fast/src/include/k5-int.h 2009-04-01 18:25:02 UTC (rev 22154)
+++ branches/fast/src/include/k5-int.h 2009-04-01 21:13:31 UTC (rev 22155)
@@ -982,7 +982,7 @@
typedef struct _krb5_fast_req {
krb5_magic magic;
- krb5_int32 fast_options;
+ krb5_flags fast_options;
/* padata from req_body is used*/
krb5_kdc_req *req_body;
} krb5_fast_req;
Modified: branches/fast/src/lib/krb5/asn.1/asn1_k_encode.c
===================================================================
--- branches/fast/src/lib/krb5/asn.1/asn1_k_encode.c 2009-04-01 18:25:02 UTC (rev 22154)
+++ branches/fast/src/lib/krb5/asn.1/asn1_k_encode.c 2009-04-01 21:13:31 UTC (rev 22155)
@@ -1211,7 +1211,7 @@
DEFPTRTYPE(ptr_fast_req_padata, fast_req_padata);
static const struct field_info fast_req_fields[] = {
- FIELDOF_NORM(krb5_fast_req, int32, fast_options, 0),
+ FIELDOF_NORM(krb5_fast_req, krb5_flags, fast_options, 0),
FIELDOF_NORM( krb5_fast_req, ptr_fast_req_padata, req_body, 1),
FIELDOF_NORM( krb5_fast_req, ptr_kdc_req_body, req_body, 2),
};
Modified: branches/fast/src/lib/krb5/asn.1/krb5_decode.c
===================================================================
--- branches/fast/src/lib/krb5/asn.1/krb5_decode.c 2009-04-01 18:25:02 UTC (rev 22154)
+++ branches/fast/src/lib/krb5/asn.1/krb5_decode.c 2009-04-01 21:13:31 UTC (rev 22155)
@@ -1114,7 +1114,7 @@
alloc_field(rep->req_body);
clear_field(rep, req_body->padata);
{begin_structure();
- get_field(rep->fast_options, 0, asn1_decode_int32);
+ get_field(rep->fast_options, 0, asn1_decode_krb5_flags);
opt_field(rep->req_body->padata, 1, asn1_decode_sequence_of_pa_data);
get_field(*(rep->req_body), 2, asn1_decode_kdc_req_body);
end_structure(); }
More information about the cvs-krb5
mailing list