mirror of
https://github.com/curl/curl.git
synced 2026-07-23 16:27:17 +03:00
parent
1c532870ed
commit
920af1a664
2 changed files with 5 additions and 7 deletions
|
|
@ -193,13 +193,6 @@ static CURLcode global_init(long flags, bool memoryfuncs)
|
|||
}
|
||||
#endif
|
||||
|
||||
#ifdef USE_WOLFSSH
|
||||
if(WS_SUCCESS != wolfSSH_Init()) {
|
||||
DEBUGF(fprintf(stderr, "Error: wolfSSH_Init failed\n"));
|
||||
return CURLE_FAILED_INIT;
|
||||
}
|
||||
#endif
|
||||
|
||||
if(flags & CURL_GLOBAL_ACK_EINTR)
|
||||
Curl_ack_eintr = 1;
|
||||
|
||||
|
|
|
|||
|
|
@ -1142,6 +1142,11 @@ size_t Curl_ssh_version(char *buffer, size_t buflen)
|
|||
|
||||
CURLcode Curl_ssh_init(void)
|
||||
{
|
||||
if(WS_SUCCESS != wolfSSH_Init()) {
|
||||
DEBUGF(fprintf(stderr, "Error: wolfSSH_Init failed\n"));
|
||||
return CURLE_FAILED_INIT;
|
||||
}
|
||||
|
||||
return CURLE_OK;
|
||||
}
|
||||
void Curl_ssh_cleanup(void)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue