]> git.ipfire.org Git - thirdparty/curl.git/commit
ssh-libssh: reduce excessive verbose output about pubkey auth
authorKamil Dudka <kdudka@redhat.com>
Tue, 14 Aug 2018 11:14:49 +0000 (13:14 +0200)
committerKamil Dudka <kdudka@redhat.com>
Tue, 14 Aug 2018 13:55:16 +0000 (15:55 +0200)
commit1e843a31a49484aeddf8f358e71392205f5fd6b1
treeba2b1297cd2bad67d5c77099294bf48618086578
parent9622c350ac18451e9f5bf73315d31e4fc8449724
ssh-libssh: reduce excessive verbose output about pubkey auth

The verbose message "Authentication using SSH public key file" was
printed each time the ssh_userauth_publickey_auto() was called, which
meant each time a packet was transferred over network because the API
operates in non-blocking mode.

This patch makes sure that the verbose message is printed just once
(when the authentication state is entered by the SSH state machine).
lib/ssh-libssh.c