Create, and use for all loads of system DLLs, a wrapper function
[u/mdw/putty] / windows / wingss.c
index 5f45c98..ac0b3cf 100644 (file)
@@ -102,7 +102,7 @@ void ssh_gss_init(void)
     }
 
     /* Microsoft SSPI Implementation */
-    module = LoadLibrary("secur32.dll");
+    module = load_system32_dll("secur32.dll");
     if (module) {
        struct ssh_gss_library *lib =
            &ssh_gss_libraries[n_ssh_gss_libraries++];