Fix problems with 64-bit big-endian machines
authorkwc@citi.umich.edu <kwc@citi.umich.edu>
Mon, 3 Jul 2006 22:34:05 +0000 (18:34 -0400)
committerNeil Brown <neilb@suse.de>
Tue, 4 Jul 2006 00:27:15 +0000 (10:27 +1000)
commit119c3e9aafe84c0f7c2846c46ad5e6f5eeece0da
tree79aeb1713ae63fe3fe521b8e6d032d33f598c500
parentc3f05548d7b3d586e7eebbdde9339617e88530f3
Fix problems with 64-bit big-endian machines

Signed-off-by: Kevin Coffman <kwc@citi.umich.edu>
Correct the definition of mech_used in the gss context to use gss_OID_desc.
This fixes problems on 64-bit machines when referencing the OID.

Also updates write_buffer function to use u_int rather than size_t when
doing calculations.
utils/gssd/context_mit.c
utils/gssd/write_bytes.h