* svc_auth_gssapi.c: In call to gss_accept_sec_context, pass
OM_uint32 * instead of int *;
* pmap_clnt.h, pmap_getport.c (pmap_getport): Prototype changed
for protocol from unsigned int to rpc_u_int32 to match struct
pmap.
* getrpcport.c (gssrpc_getrpcport): Update to reflect proper
calling conventions.
* rpc.h (callrpc): Change prototype from expecting ints for
prognum, versnum and procnum to rpc_u_int32 for consistancy.
(getrpcport): Update arguments in similar fashion.
* clnt_simple.c (gssrpc_callrpc): Update to reflect prototype change.
* auth_gssapi_misc.c (auth_gssapi_display_status_1): Local
variable msg_ctx should be OM_uint32 instead of int as argument to
gss_display_status.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13645
dc483132-0cff-0310-8789-
dd5450dbe970
+2001-07-26 Ezra Peisach <epeisach@home>
+
+ * xdr_reference.c (xdr_reference): Remove cast in argument to memset.
+
+ * svc_auth_gssapi.c: In call to gss_accept_sec_context, pass
+ OM_uint32 * instead of int *;
+
+ * pmap_clnt.h, pmap_getport.c (pmap_getport): Prototype changed
+ for protocol from unsigned int to rpc_u_int32 to match struct
+ pmap.
+
+ * getrpcport.c (gssrpc_getrpcport): Update to reflect proper
+ calling conventions.
+
+ * rpc.h (callrpc): Change prototype from expecting ints for
+ prognum, versnum and procnum to rpc_u_int32 for consistancy.
+ (getrpcport): Update arguments in similar fashion.
+
+ * clnt_simple.c (gssrpc_callrpc): Update to reflect prototype change.
+
+ * auth_gssapi_misc.c (auth_gssapi_display_status_1): Local
+ variable msg_ctx should be OM_uint32 instead of int as argument to
+ gss_display_status.
+
2001-07-25 Ezra Peisach <epeisach@mit.edu>
* auth_gssapi.c (auth_gssapi_create): Change calling convention
{
OM_uint32 gssstat, minor_stat;
gss_buffer_desc msg;
- int msg_ctx;
+ OM_uint32 msg_ctx;
msg_ctx = 0;
while (1) {
gssrpc_callrpc(host, prognum, versnum, procnum, inproc, in, outproc, out)
char *host;
xdrproc_t inproc, outproc;
+ rpc_u_int32 prognum, versnum, procnum;
char *in, *out;
{
register struct callrpc_private *crp = callrpc_private;
int
gssrpc_getrpcport(host, prognum, versnum, proto)
char *host;
+ rpc_u_int32 prognum, versnum, proto;
{
struct sockaddr_in addr;
struct hostent *hp;
caddr_t, resultproc_t);
extern unsigned short pmap_getport(struct sockaddr_in *,
rpc_u_int32,
- rpc_u_int32, unsigned int);
+ rpc_u_int32, rpc_u_int32);
struct sockaddr_in *address;
rpc_u_int32 program;
rpc_u_int32 version;
- unsigned int protocol;
+ rpc_u_int32 protocol;
{
unsigned short port = 0;
int sock = -1;
extern int bindresvport(int, struct sockaddr_in *);
#define callrpc gssrpc_callrpc
-extern int callrpc (char *, int, int, int, xdrproc_t, char *,
- xdrproc_t , char *);
+extern int callrpc (char *, rpc_u_int32, rpc_u_int32, rpc_u_int32, xdrproc_t,
+ char *, xdrproc_t , char *);
#define getrpcport gssrpc_getrpcport
-extern int getrpcport (char *, int, int, int);
+extern int getrpcport (char *, rpc_u_int32, rpc_u_int32, rpc_u_int32);
#endif /* ndef __RPC_HEADER__ */
OM_uint32 gssstat, minor_stat, time_rec;
struct opaque_auth *cred, *verf;
svc_auth_gssapi_data *client_data;
- int ret_flags, ret, i;
+ int ret, i;
+ OM_uint32 ret_flags;
rpc_u_int32 seq_num;
PRINTF(("svcauth_gssapi: starting\n"));
+2001-07-26 Ezra Peisach <epeisach@mit.edu>
+
+ * client.c: Change local variable count from int to unsigned int.
+
+ * server.c (log_badauth_display_status_1): Argument to
+ gss_display_status should be OM_uint32 * instead of int *.
+
2001-07-09 Ezra Peisach <epeisach@mit.edu>
* rpc_test_clnt.c, rpc_test_svc.c: Include string.h for memset
CLIENT *clnt;
AUTH *tmp_auth;
struct rpc_err e;
- int i, count, auth_once;
+ int i, auth_once;
+ unsigned int count;
extern int optind;
extern char *optarg;
extern int svc_debug_gssapi, misc_debug_gssapi, auth_debug_gssapi;
void log_badauth_display_status_1(OM_uint32 code, int type, int rec)
{
- OM_uint32 gssstat, minor_stat;
+ OM_uint32 gssstat, minor_stat, msg_ctx;
gss_buffer_desc msg;
- int msg_ctx;
msg_ctx = 0;
while (1) {
"xdr_reference: out of memory\n");
return (FALSE);
}
- memset(loc, 0, (int)size);
+ memset(loc, 0, size);
break;
case XDR_ENCODE: