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>

Details

Committed
asnApr 9 2020, 11:25 AM
Parents
rLIBSSH0f33eecc0166: client: Reformat ssh_connect()
Branches
Unknown
Tags
Unknown