mirror of
https://github.com/moparisthebest/curl
synced 2025-03-11 07:39:50 -04:00
ssh.c: Fixed warning: implicit conversion from enumeration type
This commit is contained in:
parent
5162cb8ad6
commit
1ab6c35363
@ -639,7 +639,7 @@ static CURLcode ssh_knownhost(struct connectdata *conn)
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool ssh_check_fingerprint(struct connectdata *conn)
|
static CURLcode ssh_check_fingerprint(struct connectdata *conn)
|
||||||
{
|
{
|
||||||
struct ssh_conn *sshc = &conn->proto.sshc;
|
struct ssh_conn *sshc = &conn->proto.sshc;
|
||||||
struct SessionHandle *data = conn->data;
|
struct SessionHandle *data = conn->data;
|
||||||
@ -740,7 +740,7 @@ static CURLcode ssh_statemach_act(struct connectdata *conn, bool *block)
|
|||||||
* whatever) is up to us.
|
* whatever) is up to us.
|
||||||
*/
|
*/
|
||||||
result = ssh_check_fingerprint(conn);
|
result = ssh_check_fingerprint(conn);
|
||||||
if(!result)
|
if(result == CURLE_OK)
|
||||||
state(conn, SSH_AUTHLIST);
|
state(conn, SSH_AUTHLIST);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user