]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
easy: remove duplicate wolfSSH init call
authorDaniel Stenberg <daniel@haxx.se>
Fri, 20 Oct 2023 15:59:46 +0000 (17:59 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 20 Oct 2023 20:55:54 +0000 (22:55 +0200)
It is already done in Curl_ssh_init() where it belongs.

Closes #12168

lib/easy.c

index 6b4fb8efeb171f012526968462b3d073a3cdfa8b..db4f834fb93aa72a051894e4467549786ea06e57 100644 (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