X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=crypto%2Fcryptlib.c;h=070cf59690fa5123e4342d6a2daa5176a604f02b;hb=c68f0506474b70ba35dd17a4477fb2d15d639bcb;hp=8634c078d8f376a55b7b19c5ea1482bb5acb77f6;hpb=3ac82faae5eb02140f347610be0726f549a0aa0a;p=oweals%2Fopenssl.git diff --git a/crypto/cryptlib.c b/crypto/cryptlib.c index 8634c078d8..070cf59690 100644 --- a/crypto/cryptlib.c +++ b/crypto/cryptlib.c @@ -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