From 347cf02e9d237d9fa0563d49cb3ee84abda06853 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 20 Oct 2023 17:59:46 +0200 Subject: [PATCH] easy: remove duplicate wolfSSH init call It is already done in Curl_ssh_init() where it belongs. Closes #12168 --- lib/easy.c | 7 ------- 1 file changed, 7 deletions(-) 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