]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - windows/window.c
Turn off Windows process ACL restriction by default.
[PuTTY.git] / windows / window.c
index 044d3ce3f15efa689f080e6233d8bfc3da67fed3..5ef3a46077157fd33d603f0e9466c2e0df48d041 100644 (file)
@@ -403,21 +403,6 @@ int WINAPI WinMain(HINSTANCE inst, HINSTANCE prev, LPSTR cmdline, int show)
        return 1;
     }
 
-    /*
-     * Protect our process
-     */
-    {
-#if !defined UNPROTECT && !defined NO_SECURITY
-        char *error = NULL;
-        if (! setprocessacl(error)) {
-            char *message = dupprintf("Could not restrict process ACL: %s",
-                                      error);
-           logevent(NULL, message);
-            sfree(message);
-           sfree(error);
-       }
-#endif
-    }
     /*
      * Process the command line.
      */