summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/gssapi/generic/ChangeLog3
-rw-r--r--src/lib/gssapi/generic/gssapiP_generic.h2
-rw-r--r--src/lib/gssapi/generic/util_token.c2
3 files changed, 5 insertions, 2 deletions
diff --git a/src/lib/gssapi/generic/ChangeLog b/src/lib/gssapi/generic/ChangeLog
index ebafc0fe35..ef8a6711f5 100644
--- a/src/lib/gssapi/generic/ChangeLog
+++ b/src/lib/gssapi/generic/ChangeLog
@@ -1,5 +1,8 @@
Wed Jul 24 18:48:43 1996 Theodore Y. Ts'o <tytso@mit.edu>
+ * util_token.c (g_verify_token_header): Changed return code to be
+ an unsigned int 32, since we return a com_err error code.
+
* rel_buffer.c (generic_gss_release_buffer):
* rel_oid_set.c (generic_gss_release_oid_set): Remove INTERFACE
keyworded; not needed (and causes problems) since we're
diff --git a/src/lib/gssapi/generic/gssapiP_generic.h b/src/lib/gssapi/generic/gssapiP_generic.h
index 55b9f71491..f2c0601425 100644
--- a/src/lib/gssapi/generic/gssapiP_generic.h
+++ b/src/lib/gssapi/generic/gssapiP_generic.h
@@ -121,7 +121,7 @@ int g_token_size PROTOTYPE((gss_OID mech, unsigned int body_size));
void g_make_token_header PROTOTYPE((gss_OID mech, int body_size,
unsigned char **buf, int tok_type));
-int g_verify_token_header PROTOTYPE((gss_OID mech, int *body_size,
+gss_uint32 g_verify_token_header PROTOTYPE((gss_OID mech, int *body_size,
unsigned char **buf, int tok_type, int toksize));
OM_uint32 g_display_major_status PROTOTYPE((OM_uint32 *minor_status,
diff --git a/src/lib/gssapi/generic/util_token.c b/src/lib/gssapi/generic/util_token.c
index 027d2a765f..fe02c0e507 100644
--- a/src/lib/gssapi/generic/util_token.c
+++ b/src/lib/gssapi/generic/util_token.c
@@ -159,7 +159,7 @@ void g_make_token_header(mech, body_size, buf, tok_type)
* mechanism in the token does not match the mech argument. buf and
* *body_size are left unmodified on error.
*/
-int g_verify_token_header(mech, body_size, buf_in, tok_type, toksize)
+gss_uint32 g_verify_token_header(mech, body_size, buf_in, tok_type, toksize)
gss_OID mech;
int *body_size;
unsigned char **buf_in;