From a8239a449012979bc0ebe844fea2f3cf0ee5edee 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 b4883aae73..7b8ae35c53 100644 --- a/programs/ssl/ssl_server.c +++ b/programs/ssl/ssl_server.c @@ -221,28 +221,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 2a046a77fe..96cbb4902c 100644 --- a/programs/ssl/ssl_server2.c +++ b/programs/ssl/ssl_server2.c @@ -770,28 +770,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 ..." );