fix gss_common.h

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3747 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1997-11-02 04:01:16 +00:00
parent 6afe0b2412
commit b36fb493a4
4 changed files with 9 additions and 7 deletions

View File

@@ -38,6 +38,7 @@
#include "test_locl.h"
#include <gssapi.h>
#include "gss_common.h"
RCSID("$Id$");
void

View File

@@ -38,9 +38,5 @@
/* $Id$ */
#include "test_locl.h"
#include <gssapi.h>
RCSID("$Id$");
void write_token (int sock, gss_buffer_t buf);
void read_token (int sock, gss_buffer_t buf);

View File

@@ -38,6 +38,7 @@
#include "test_locl.h"
#include <gssapi.h>
#include "gss_common.h"
RCSID("$Id$");
static int

View File

@@ -38,6 +38,7 @@
#include "test_locl.h"
#include <gssapi.h>
#include "gss_common.h"
RCSID("$Id$");
static int
@@ -100,7 +101,8 @@ proto (int sock, const char *service)
if (GSS_ERROR(maj_stat))
abort ();
printf ("User is `%.*s'\n", name_token.length, name_token.value);
printf ("User is `%.*s'\n", (int)name_token.length,
(char *)name_token.value);
/* gss_verify_mic */
@@ -115,7 +117,8 @@ proto (int sock, const char *service)
if (GSS_ERROR(maj_stat))
abort ();
printf ("gss_verify_mic: %.*s\n", input_token->length, input_token->value);
printf ("gss_verify_mic: %.*s\n", (int)input_token->length,
(char *)input_token->value);
/* gss_unwrap */
@@ -130,7 +133,8 @@ proto (int sock, const char *service)
if(GSS_ERROR(maj_stat))
abort ();
printf ("gss_unwrap: %.*s\n", output_token->length, output_token->value);
printf ("gss_unwrap: %.*s\n", (int)output_token->length,
(char *)output_token->value);
return 0;
}