aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gssapi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gssapi.c b/gssapi.c
index 37c5a6af..1784de55 100644
--- a/gssapi.c
+++ b/gssapi.c
@@ -117,7 +117,7 @@ int do_gssauth(int sock, const char *command, const char *service,
gss_release_buffer(&min_stat, &send_token);
suppress_tags = TRUE;
- gen_send(sock, buf1, strlen(buf1));
+ gen_send(sock, "%s", buf1);
suppress_tags = FALSE;
if (maj_stat == GSS_S_CONTINUE_NEEDED) {
@@ -190,7 +190,7 @@ int do_gssauth(int sock, const char *command, const char *service,
to64frombits(buf1, send_token.value, send_token.length);
suppress_tags = TRUE;
- result = gen_transact(sock, buf1, strlen(buf1));
+ result = gen_transact(sock, "%s", buf1);
suppress_tags = FALSE;
/* flush security context */