easy: remove duplicate wolfSSH init call

It is already done in Curl_ssh_init() where it belongs.

Closes #12168
This commit is contained in:
Daniel Stenberg 2023-10-20 17:59:46 +02:00
parent 24c495a52f
commit 347cf02e9d
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -194,13 +194,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
easy_init_flags = flags;
#ifdef DEBUGBUILD