Small changes in krb: 1 signed/unsigned, 1 disabling stderr, and changed LIB name
authorKeith Vetter <keithv@fusion.com>
Tue, 7 Mar 1995 21:28:10 +0000 (21:28 +0000)
committerKeith Vetter <keithv@fusion.com>
Tue, 7 Mar 1995 21:28:10 +0000 (21:28 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5078 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/krb/ChangeLog
src/lib/krb5/krb/Makefile.in
src/lib/krb5/krb/chk_trans.c
src/lib/krb5/krb/parse.c

index 415c4b5d871d6c6152900d65edd915413dd21f38..669e7116d0e09a73e6857ef245ce5e67bdf24c9f 100644 (file)
@@ -1,3 +1,9 @@
+Tue Mar 7 13:20:06 1995 Keith Vetter (keithv@fusion.com)
+
+       * Makefile.in: changed library name on the pc.
+       * parse.c: disabled for the PC error messages to stderr.
+       * chk_trans.c: fixed signed/unsigned assignment.
+
 Thu Mar 2 11:45:00 1995 Keith Vetter (keithv@fusion.com)
        
        * compat_recv.c, get_fcre.c, recvauth.c, sendauth.c: changed
index 7ac5d079f48791017bc7427ddc34f62f960f50c2..c9556785d57d09dc8bf25b891db285226aa4e07a 100644 (file)
@@ -2,7 +2,7 @@ CFLAGS = $(CCOPTS) $(DEFS)
 LDFLAGS = -g
 
 ##DOSBUILDTOP = ..\..\..
-##DOSLIBNAME=..\libkrb5.lib
+##DOSLIBNAME=..\krb5.lib
 ##DOS!include $(BUILDTOP)\config\windows.in
 
 OBJS=  addr_comp.$(OBJEXT)     \
index e7627ff45c48da5aae8bebff9e547be027e46533..215991560e69f01c125b228947c554e1f148c001 100644 (file)
@@ -66,7 +66,7 @@ krb5_data      *realm2;
         if (*(nextp-1) == '.')  strcat(next, prev);
         retval = KRB5KRB_AP_ERR_ILL_CR_TKT;
         for (j = 0; tgs_list[j]; j++) {
-          if (strlen(next) == krb5_princ_realm(context, tgs_list[j])->length &&
+          if (strlen(next) == (size_t) krb5_princ_realm(context, tgs_list[j])->length &&
               !memcmp(next, krb5_princ_realm(context, tgs_list[j])->data,
                       strlen(next))) {
             retval = 0;
index f403a31174eca792331f740ef9580c3e0ef451e1..be48029e38bee1b6aac64c2191435a4daa9e4372 100644 (file)
@@ -189,8 +189,10 @@ krb5_parse_name(context, name, nprincipal)
 #ifndef _WINDOWS
                        fprintf(stderr,
                                "Programming error in krb5_parse_name!");
-#endif
                        exit(1);
+#else
+         /* Need to come up with windows error handling mechanism */
+#endif
                }
        } else {
                /*