From: Daniel Stenberg Date: Fri, 20 Oct 2023 15:59:46 +0000 (+0200) Subject: easy: remove duplicate wolfSSH init call X-Git-Tag: curl-8_5_0~224 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=347cf02e9d237d9fa0563d49cb3ee84abda06853;p=thirdparty%2Fcurl.git easy: remove duplicate wolfSSH init call It is already done in Curl_ssh_init() where it belongs. Closes #12168 --- diff --git a/lib/easy.c b/lib/easy.c index 6b4fb8efeb..db4f834fb9 100644 --- a/lib/easy.c +++ b/lib/easy.c @@ -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