* pmap_rmt.c, svc.c, svc_simple.c, svc_udp.c, svc_tcp.c,
authorEzra Peisach <epeisach@mit.edu>
Mon, 9 Jul 2001 15:35:01 +0000 (15:35 +0000)
committerEzra Peisach <epeisach@mit.edu>
Mon, 9 Jul 2001 15:35:01 +0000 (15:35 +0000)
        xdr_array.c, xdr_reference.c : Include string.h for memset and
        memcmp prototypes.

        * auth_gssapi.c, auth_gssapi_misc.c, svc_auth_gssapi.c: Cast
        argment to PRINTF to match format.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13595 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/rpc/ChangeLog
src/lib/rpc/auth_gssapi.c
src/lib/rpc/auth_gssapi_misc.c
src/lib/rpc/svc.c
src/lib/rpc/svc_auth_gssapi.c
src/lib/rpc/svc_simple.c
src/lib/rpc/svc_tcp.c
src/lib/rpc/svc_udp.c
src/lib/rpc/xdr_array.c
src/lib/rpc/xdr_reference.c

index 910ee4a501a52e291cc08ac6bb217fc22905cba8..bc5c27bf3569627c7c3898088692a8fae8e3cd23 100644 (file)
@@ -1,3 +1,12 @@
+2001-07-09  Ezra Peisach  <epeisach@mit.edu>
+
+       * pmap_rmt.c, svc.c, svc_simple.c, svc_udp.c, svc_tcp.c,
+       xdr_array.c, xdr_reference.c : Include string.h for memset and
+       memcmp prototypes.
+
+       * auth_gssapi.c, auth_gssapi_misc.c, svc_auth_gssapi.c: Cast
+       argment to PRINTF to match format.
+
 2001-07-08  Ezra Peisach  <epeisach@mit.edu>
 
        * svc.c (xprt_register): If svc_fdset has not been initilized, 
index e16fe686beda2c0c016ac1f65d1ef0f2bbf7cf55..9c22abdf0a20c46fbc81b234bca53c820ac5b001 100644 (file)
@@ -394,7 +394,7 @@ next_token:
                    goto cleanup;
               } else if (isn_buf.length != sizeof(rpc_u_int32)) {
                    PRINTF(("gssapi_create: gss_unseal gave %d bytes\n",
-                           isn_buf.length));
+                           (int) isn_buf.length));
                    goto cleanup;
               }
               
index e7c38a8208a1a520290e742580f1a861a91871c0..810bd78299e95295b7d1cc88e2d0b93c954d10d4 100644 (file)
@@ -121,7 +121,7 @@ bool_t auth_gssapi_unseal_seq(context, in_buf, seq_num)
          return FALSE;
      } else if (out_buf.length != sizeof(rpc_u_int32)) {
          PRINTF(("gssapi_unseal_seq: unseal gave %d bytes\n",
-                 out_buf.length));
+                 (int) out_buf.length));
          gss_release_buffer(&minor_stat, &out_buf);
          return FALSE;
      }
@@ -227,7 +227,7 @@ bool_t auth_gssapi_wrap_data(major, minor, context, seq_num, out_xdrs,
      }
      
      PRINTF(("gssapi_wrap_data: %d bytes data, %d bytes sealed\n",
-            in_buf.length, out_buf.length));
+            (int) in_buf.length, (int) out_buf.length));
      
      /* write the token */
      if (! xdr_bytes(out_xdrs, (char **) &out_buf.value, 
index 5c82b44b7c40e914af995c01be32f78e65c3591d..74e9f91499fcfa639a05c6cc32e94fd4d2f2782c 100644 (file)
@@ -45,6 +45,7 @@ static char sccsid[] = "@(#)svc.c 1.41 87/10/13 Copyr 1984 Sun Micro";
 #include <gssrpc/rpc.h>
 #include <gssrpc/pmap_clnt.h>
 #include <stdio.h>
+#include <string.h>
 
 extern int errno;
 
index f3257383f0cad9f8a33d543211d0d2854280ddd5..633ba5bc649578747525aaa9ff359784de9862b5 100644 (file)
@@ -169,7 +169,7 @@ enum auth_stat _gssrpc_svcauth_gssapi(rqst, msg, no_dispatch)
      XDR_DESTROY(&xdrs);
 
      PRINTF(("svcauth_gssapi: got credentials, version %d, client_handle len %d\n",
-            creds.version, creds.client_handle.length));
+            creds.version, (int) creds.client_handle.length));
 
      if (creds.version != 2) {
          PRINTF(("svcauth_gssapi: bad credential version\n"));
@@ -222,7 +222,7 @@ enum auth_stat _gssrpc_svcauth_gssapi(rqst, msg, no_dispatch)
          
          PRINTF(("svcauth_gssapi: incoming client_handle %d, len %d\n", 
                  *((rpc_u_int32 *) creds.client_handle.value),
-                 creds.client_handle.length));
+                 (int) creds.client_handle.length));
 
          client_data = get_client(&creds.client_handle);
          if (client_data == NULL) {
@@ -600,7 +600,7 @@ enum auth_stat _gssrpc_svcauth_gssapi(rqst, msg, no_dispatch)
 
      if (creds.client_handle.length != 0) {
          PRINTF(("svcauth_gssapi: freeing client_handle len %d\n",
-                 creds.client_handle.length));
+                 (int) creds.client_handle.length));
          gssrpc_xdr_free(xdr_authgssapi_creds, &creds);
      }
      
@@ -610,7 +610,7 @@ enum auth_stat _gssrpc_svcauth_gssapi(rqst, msg, no_dispatch)
 error:
      if (creds.client_handle.length != 0) {
          PRINTF(("svcauth_gssapi: freeing client_handle len %d\n",
-                 creds.client_handle.length));
+                 (int) creds.client_handle.length));
          gssrpc_xdr_free(xdr_authgssapi_creds, &creds);
      }
      
index 28f192cba23d3948fe51e59a12eee32fae0a1742..44c7573156ea93890e4cf117367a7c95febec4f5 100644 (file)
@@ -39,6 +39,7 @@ static char sccsid[] = "@(#)svc_simple.c 1.18 87/08/11 Copyr 1984 Sun Micro";
  */
 
 #include <stdio.h>
+#include <string.h>
 #include <gssrpc/rpc.h>
 #include <gssrpc/pmap_clnt.h>
 #include <sys/socket.h>
index 3ea99aaad774f0bfa3fabfa51a7ff355917ac077..371d059cd12673da1af360628f80a4eb3e4c4821 100644 (file)
@@ -42,6 +42,7 @@ static char sccsid[] = "@(#)svc_tcp.c 1.21 87/08/11 Copyr 1984 Sun Micro";
  */
 
 #include <stdio.h>
+#include <string.h>
 #include <unistd.h>
 #include <gssrpc/rpc.h>
 #include <sys/socket.h>
index ca30bcde5fcdbea9803ee021e3fd206b35c0896e..9aea69c18e3b7230773860db98ed632ff35292d9 100644 (file)
@@ -40,6 +40,7 @@ static char sccsid[] = "@(#)svc_udp.c 1.24 87/08/11 Copyr 1984 Sun Micro";
  */
 
 #include <stdio.h>
+#include <string.h>
 #include <unistd.h>
 #include <gssrpc/rpc.h>
 #include <sys/socket.h>
index a1841abe70c7d40072df366f6f7deb5310db2cd3..97c6dc73d62c53eaffb7151dc584a2d9e5abc8e3 100644 (file)
@@ -41,7 +41,7 @@ static char sccsid[] = "@(#)xdr_array.c 1.10 87/08/11 Copyr 1984 Sun Micro";
  */
 
 #include <stdio.h>
-
+#include <string.h>
 #include <gssrpc/types.h>
 #include <gssrpc/xdr.h>
 
index 501f621217e2935117c7c0bc572cdf1ec51a53de..7c7f0c24ecebd25bb08a28eafc1b6f73aa3b5deb 100644 (file)
@@ -41,6 +41,7 @@ static char sccsid[] = "@(#)xdr_reference.c 1.11 87/08/11 SMI";
  */
 
 #include <stdio.h>
+#include <string.h>
 #include <gssrpc/types.h>
 #include <gssrpc/xdr.h>