+2002-08-23 Ezra Peisach <epeisach@bu.edu>
+
+ * compat_recv.c: Include defines.h for prototypes.
+
2002-08-07 Jen Selby <jenselby@mit.edu>
* klogind.M, kshd.M, login.M: changed manual sections 8c, 1c, and
#include <stdio.h>
#include <string.h>
+#include "defines.h"
+
static int krb_v4_recvauth(long options, int fd, KTEXT ticket,
char *service, char *instance,
struct sockaddr_in *faddr,
if (len < 0 || len > 255)
return KRB5_SENDAUTH_BADAUTHVERS;
- buf = malloc(len);
+ buf = malloc((unsigned) len);
if (!buf)
return ENOMEM;
if (len < 0 || len > 255)
return KRB5_SENDAUTH_BADAUTHVERS;
- buf = malloc(len);
+ buf = malloc((unsigned) len);
if (!buf)
return ENOMEM;