libvirt
/
libvirt
|
v4.9.0-rc1
|
22 mins and 10 secs
|
Daniel P. Berrangé
|
rpc: fix handling of SSH auth failure code
The result of libssh2_userauth_password is being assigned to 'ret' in one branch and 'rc' in the other branch. Checks are all done against the 'ret' variable, so one branch never does the correct check.
Reviewed-by: Andrea Bolognani <abologna@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
|
|