From a91d41e7a46b1a1b3da33166b71912daa9299509 Mon Sep 17 00:00:00 2001 From: Paul Bakker Date: Fri, 29 Nov 2013 11:16:37 +0100 Subject: [PATCH] Removed Windows auto-spawn client code --- programs/ssl/ssl_server.c | 22 ---------------------- programs/ssl/ssl_server2.c | 22 ---------------------- 2 files changed, 44 deletions(-) diff --git a/programs/ssl/ssl_server.c b/programs/ssl/ssl_server.c index 78d9065d6..48e56770d 100644 --- a/programs/ssl/ssl_server.c +++ b/programs/ssl/ssl_server.c @@ -222,28 +222,6 @@ reset: /* * 3. Wait until a client connects */ -#if defined(_WIN32_WCE) - { - SHELLEXECUTEINFO sei; - - ZeroMemory( &sei, sizeof( SHELLEXECUTEINFO ) ); - - sei.cbSize = sizeof( SHELLEXECUTEINFO ); - sei.fMask = 0; - sei.hwnd = 0; - sei.lpVerb = _T( "open" ); - sei.lpFile = _T( "https://localhost:4433/" ); - sei.lpParameters = NULL; - sei.lpDirectory = NULL; - sei.nShow = SW_SHOWNORMAL; - - ShellExecuteEx( &sei ); - } -#elif defined(_WIN32) - ShellExecute( NULL, "open", "https://localhost:4433/", - NULL, NULL, SW_SHOWNORMAL ); -#endif - client_fd = -1; printf( " . Waiting for a remote connection ..." ); diff --git a/programs/ssl/ssl_server2.c b/programs/ssl/ssl_server2.c index a37a077eb..a3293b469 100644 --- a/programs/ssl/ssl_server2.c +++ b/programs/ssl/ssl_server2.c @@ -546,28 +546,6 @@ reset: /* * 3. Wait until a client connects */ -#if defined(_WIN32_WCE) - { - SHELLEXECUTEINFO sei; - - ZeroMemory( &sei, sizeof( SHELLEXECUTEINFO ) ); - - sei.cbSize = sizeof( SHELLEXECUTEINFO ); - sei.fMask = 0; - sei.hwnd = 0; - sei.lpVerb = _T( "open" ); - sei.lpFile = _T( "https://localhost:4433/" ); - sei.lpParameters = NULL; - sei.lpDirectory = NULL; - sei.nShow = SW_SHOWNORMAL; - - ShellExecuteEx( &sei ); - } -#elif defined(_WIN32) - ShellExecute( NULL, "open", "https://localhost:4433/", - NULL, NULL, SW_SHOWNORMAL ); -#endif - client_fd = -1; printf( " . Waiting for a remote connection ..." );