diff options
-rw-r--r-- | src/lib/gssapi/krb5/ChangeLog | 8 | ||||
-rw-r--r-- | src/lib/gssapi/krb5/configure.in | 1 | ||||
-rw-r--r-- | src/lib/gssapi/krb5/init_sec_context.c | 2 | ||||
-rw-r--r-- | src/lib/gssapi/krb5/pname_to_uid.c | 4 |
4 files changed, 14 insertions, 1 deletions
diff --git a/src/lib/gssapi/krb5/ChangeLog b/src/lib/gssapi/krb5/ChangeLog index 6646e8bcbe..ded46b1d2a 100644 --- a/src/lib/gssapi/krb5/ChangeLog +++ b/src/lib/gssapi/krb5/ChangeLog @@ -1,3 +1,11 @@ +Tue Jan 23 13:01:42 1996 Ezra Peisach <epeisach@kangaroo.mit.edu> + + * configure.in: Check for stdlib.h + + * pname_to_uid.c: Include string.h and stdlib.h. + + * init_sec_context.c (make_ap_req): Handle gcc warning. + Tue Jan 23 04:05:23 1996 <tytso@rsts-11.mit.edu> * Makefile.in: Add support for building GSSAPI as a shared diff --git a/src/lib/gssapi/krb5/configure.in b/src/lib/gssapi/krb5/configure.in index 9bd6967c3c..7b755b498e 100644 --- a/src/lib/gssapi/krb5/configure.in +++ b/src/lib/gssapi/krb5/configure.in @@ -1,6 +1,7 @@ AC_INIT(configure.in) CONFIG_RULES ET_RULES +AC_CHECK_HEADERS(stdlib.h) V5_SHARED_LIB_OBJS SubdirLibraryRule([${OBJS}]) V5_AC_OUTPUT_MAKEFILE diff --git a/src/lib/gssapi/krb5/init_sec_context.c b/src/lib/gssapi/krb5/init_sec_context.c index 4ccc4a3bab..d12f99cbe4 100644 --- a/src/lib/gssapi/krb5/init_sec_context.c +++ b/src/lib/gssapi/krb5/init_sec_context.c @@ -191,7 +191,7 @@ make_ap_req(context, auth_context, cred, server, endtime, chan_bindings, code = 0; cleanup: - if (checksum_data.data && checksum_data.data != ckbuf) + if (checksum_data.data && checksum_data.data != (char *) ckbuf) free(checksum_data.data); krb5_free_cred_contents(context, &in_creds); if (out_creds) diff --git a/src/lib/gssapi/krb5/pname_to_uid.c b/src/lib/gssapi/krb5/pname_to_uid.c index 619b4657ca..8cd20d23a9 100644 --- a/src/lib/gssapi/krb5/pname_to_uid.c +++ b/src/lib/gssapi/krb5/pname_to_uid.c @@ -6,6 +6,10 @@ */ #include <gssapi/gssapi.h> +#ifdef HAVE_STDLIB_H +#include <stdlib.h> +#endif +#include <string.h> #include <pwd.h> #include <sys/types.h> |