HomePhabricator

client: Check if the library is initialized in ssh_connect()

Authored by ansasaki on Apr 8 2020, 3:08 PM.

Description

client: Check if the library is initialized in ssh_connect()

If the library is not initialized, SSH_ERROR is returned and the error
message is set properly.

Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
(cherry picked from commit e3e3a2786362f89fc72cd8a8a67fd52a435a1597)

Details

Committed
asnTue, May 5, 2:31 PM
Parents
rLIBSSHffb000776819: client: Reformat ssh_connect()
Branches
Unknown
Tags
Unknown