diff --git a/crypto/dso/dso_win32.c b/crypto/dso/dso_win32.c index a9c82726b..7a3e2b70e 100644 --- a/crypto/dso/dso_win32.c +++ b/crypto/dso/dso_win32.c @@ -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);