mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-08-08 19:02:06 +03:00
session: Use a struct for all options.
This commit is contained in:
@@ -644,7 +644,7 @@ int ssh_try_publickey_from_file(ssh_session session,
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (session->sshdir == NULL) {
|
||||
if (session->opts.sshdir == NULL) {
|
||||
if (ssh_options_apply(session) < 0) {
|
||||
return -1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user