2001-06-05 Ezra Peisach <epeisach@mit.edu>
+ * server.c (log_badauth_display_status_1): Need value element of
+ gss_buffer_desc for printf.
+
* client.c (main): Missing arguments to printf fixed.
2001-04-24 Ezra Peisach <epeisach@mit.edu>
(void) gss_display_name(&minor_stat, server, &server_name, &type);
printf("rpc_test server: bad verifier from %s at %s:%d for %s\n",
- client_name.value,
+ (char *) client_name.value,
inet_ntoa(rqst->rq_xprt->xp_raddr.sin_addr),
ntohs(rqst->rq_xprt->xp_raddr.sin_port),
- server_name.value);
+ (char *) server_name.value);
(void) gss_release_buffer(&minor_stat, &client_name);
(void) gss_release_buffer(&minor_stat, &server_name);
GSS_C_MECH_CODE, 1);
} else
printf("GSS-API authentication error %s: "
- "recursive failure!\n", msg);
+ "recursive failure!\n", (char *)msg.value);
return;
}