Typo in win32_globallookup.
[openssl.git] / crypto / dso / dso_win32.c
index a9c82726bdb6131b8fe55636c5d6be215e77fba9..7a3e2b70e2ca57b9b93f1acd81a634d2dbe876a1 100644 (file)
@@ -826,7 +826,7 @@ static void *win32_globallookup(const char *name)
                }
 
        do      {
-               if (ret = GetProcAddress(me32.hModule,fname))
+               if (ret = GetProcAddress(me32.hModule,name))
                        {
                        (*close_snap)(hModuleSnap);
                        FreeLibrary(dll);