minor fixes for Windows
[openssl.git] / crypto / cryptlib.c
index b1e535a69596406fc81569806fdc6e3aa71f6ab0..1cd77c96d2f7f7e0911dacf56ad88128f48affe0 100644 (file)
@@ -204,7 +204,7 @@ int OPENSSL_isservice(void)
 
     if (_OPENSSL_isservice.p == NULL) {
         HANDLE mod = GetModuleHandle(NULL);
-        FARPROC f;
+        FARPROC f = NULL;
 
         if (mod != NULL)
             f = GetProcAddress(mod, "_OPENSSL_isservice");