gss_OID for gssapi functions.
* xdr.c (xdr_u_int, xdr_int32, xdr_u_int32): If enumerated
operation is not XDR_ENCODE, XDR_DECODE or XDR_FREE - return FALSE
instead falling off end of function.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13361
dc483132-0cff-0310-8789-
dd5450dbe970
+2001-06-18 Ezra Peisach <epeisach@mit.edu>
+
+ * auth_gssapi.c (auth_gssapi_create): Cast const gss_OID to
+ gss_OID for gssapi functions.
+
+ * xdr.c (xdr_u_int, xdr_int32, xdr_u_int32): If enumerated
+ operation is not XDR_ENCODE, XDR_DECODE or XDR_FREE - return FALSE
+ instead falling off end of function.
+
2001-06-08 Ezra Peisach <epeisach@mit.edu>
* auth_gssapi.h: Rename prototypes from _svcauth_set_log_XXX_func to
*/
if (call_arg.version < 4 && (mech_type == gss_mech_krb5 ||
mech_type == GSS_C_NULL_OID))
- mech_type = gss_mech_krb5_old;
+ mech_type = (gss_OID) gss_mech_krb5_old;
#endif
if (!bindings_failed && call_arg.version >= 3) {
} else {
return (xdr_short(xdrs, (short *)up));
}
+ /*NOTREACHED*/
+ return(FALSE);
#endif
}
case XDR_FREE:
return (TRUE);
}
+ return(FALSE);
}
bool_t
case XDR_FREE:
return (TRUE);
}
+ return(FALSE);
}
/*