HomePhabricator

ssh_userauth_publickey_auto requires three arguments.

Authored by adelton on Thu, Mar 7, 3:16 PM.

Description

ssh_userauth_publickey_auto requires three arguments.

Addressing
client.c: In function ‘authenticate_pubkey’:
client.c:70:8: error: too few arguments to function ‘ssh_userauth_publickey_auto’

rc = ssh_userauth_publickey_auto(session, NULL);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from client.c:1:
/usr/include/libssh/libssh.h:745:16: note: declared here
LIBSSH_API int ssh_userauth_publickey_auto(ssh_session session,

^~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Jan Pazdziora <jpazdziora@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>

Details

Committed
asnMon, Mar 11, 4:19 PM
Parents
rLIBSSH104c9dca3f96: Use a common KDF function
Branches
Unknown
Tags
Unknown