diff options
Diffstat (limited to 'gssapi.c')
-rw-r--r-- | gssapi.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 */ |