* server.c (log_badauth_display_status_1): Need value element of
authorEzra Peisach <epeisach@mit.edu>
Tue, 5 Jun 2001 16:31:48 +0000 (16:31 +0000)
committerEzra Peisach <epeisach@mit.edu>
Tue, 5 Jun 2001 16:31:48 +0000 (16:31 +0000)
gss_buffer_desc for printf.

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

src/lib/rpc/unit-test/ChangeLog
src/lib/rpc/unit-test/server.c

index 702a083f25a3a05586005b627f8189acc8afd109..a2f58f33fd201b4bd30faddcaccf6518a1001eb6 100644 (file)
@@ -1,5 +1,8 @@
 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>
index 32f5de349fb8fe21c6bf4025b484e0d874028340..cbf66197911b4bd892059abd084961619290ba01 100644 (file)
@@ -168,10 +168,10 @@ static void rpc_test_badverf(gss_name_t client, gss_name_t server,
      (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);
@@ -241,7 +241,7 @@ void log_badauth_display_status_1(OM_uint32 code, int type, int rec)
                                                 GSS_C_MECH_CODE, 1);
               } else
                    printf("GSS-API authentication error %s: "
-                          "recursive failure!\n", msg);
+                          "recursive failure!\n", (char *)msg.value);
               return;
          }