diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2013-07-21 10:56:47 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2013-07-21 10:56:47 +0200 |
commit | 4103358daa728bcb3843e6f9d1b0f2672b76352a (patch) | |
tree | e127ae062ed4b08542551f964ce1c39ac4e4f362 /src | |
parent | 1ab4b28b006abb35cd674eb297733c32ff7af607 (diff) | |
download | libssh-4103358daa728bcb3843e6f9d1b0f2672b76352a.tar.gz libssh-4103358daa728bcb3843e6f9d1b0f2672b76352a.tar.xz libssh-4103358daa728bcb3843e6f9d1b0f2672b76352a.zip |
gssapi: Replace printf with SSH_LOG.
Diffstat (limited to 'src')
-rw-r--r-- | src/gssapi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gssapi.c b/src/gssapi.c index 09fb2d5b..32dd8975 100644 --- a/src/gssapi.c +++ b/src/gssapi.c @@ -169,8 +169,8 @@ int ssh_gssapi_handle_userauth(ssh_session session, const char *user, uint32_t n maj_stat = gss_indicate_mechs(&min_stat, &supported); for (i=0; i < supported->count; ++i){ - ptr=ssh_get_hexa(supported->elements[i].elements, supported->elements[i].length); - printf("supported %d : %s\n",i, ptr); + ptr = ssh_get_hexa(supported->elements[i].elements, supported->elements[i].length); + SSH_LOG(SSH_LOG_DEBUG, "Supported mech %d: %s\n", i, ptr); free(ptr); } |