krb5 commit: Fix mismatched spnego_mech.c declarations
Greg Hudson
ghudson at MIT.EDU
Fri May 3 13:11:18 EDT 2013
https://github.com/krb5/krb5/commit/8c4db8f776c65b50fe3af82fd62a67022dd9a6d5
commit 8c4db8f776c65b50fe3af82fd62a67022dd9a6d5
Author: Greg Hudson <ghudson at mit.edu>
Date: Fri May 3 13:09:08 2013 -0400
Fix mismatched spnego_mech.c declarations
The mechglue definitions of gssint_get_der_length and friends use
unsigned int for the buffer length, not OM_uint32.
src/lib/gssapi/spnego/spnego_mech.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/lib/gssapi/spnego/spnego_mech.c b/src/lib/gssapi/spnego/spnego_mech.c
index 696f42d..81f7a3a 100644
--- a/src/lib/gssapi/spnego/spnego_mech.c
+++ b/src/lib/gssapi/spnego/spnego_mech.c
@@ -78,9 +78,10 @@
typedef const gss_OID_desc *gss_OID_const;
/* der routines defined in libgss */
-extern unsigned int gssint_der_length_size(OM_uint32);
-extern int gssint_get_der_length(unsigned char **, OM_uint32, unsigned int*);
-extern int gssint_put_der_length(OM_uint32, unsigned char **, unsigned int);
+extern unsigned int gssint_der_length_size(unsigned int);
+extern int gssint_get_der_length(unsigned char **, unsigned int,
+ unsigned int*);
+extern int gssint_put_der_length(unsigned int, unsigned char **, unsigned int);
/* private routines for spnego_mechanism */
More information about the cvs-krb5
mailing list