Signed vs. unsigned problem fix.
[oweals/openssl.git] / crypto / cryptlib.c
index 8634c078d8f376a55b7b19c5ea1482bb5acb77f6..070cf59690fa5123e4342d6a2daa5176a604f02b 100644 (file)
@@ -100,8 +100,7 @@ static const char* lock_names[CRYPTO_NUM_LOCKS] =
        "debug_malloc2",
        "dso",
        "dynlock",
-       "engine",
-#if CRYPTO_NUM_LOCKS != 29
+#if CRYPTO_NUM_LOCKS != 28
 # error "Inconsistency between crypto.h and cryptlib.c"
 #endif
        };
@@ -133,11 +132,11 @@ int CRYPTO_get_new_lockid(char *name)
        char *str;
        int i;
 
-#if defined(WIN32) || defined(WIN16)
        /* A hack to make Visual C++ 5.0 work correctly when linking as
         * a DLL using /MT. Without this, the application cannot use
         * and floating point printf's.
         * It also seems to be needed for Visual C 1.5 (win16) */
+#if defined(WIN32) || defined(WIN16)
        SSLeay_MSVC5_hack=(double)name[0]*(double)name[1];
 #endif