//+--------------------------------------------------------------------------- // // Microsoft Windows // Copyright (C) Microsoft Corporation, 1992 - 1995. // // File: globals.h // // Contents: // // Classes: // // Functions: // // History: 8-02-95 RichardW Created // //---------------------------------------------------------------------------- extern RTL_CRITICAL_SECTION csSsl; #if DBG extern DWORD csSslOwner; #define LockSsl(x) EnterCriticalSection(&csSsl); csSslOwner = x #define UnlockSsl() csSslOwner = 0; LeaveCriticalSection(&csSsl) #else #define LockSsl(x) EnterCriticalSection(&csSsl) #define UnlockSsl() LeaveCriticalSection(&csSsl) #endif #define SSL_INIT_CIPHER_CACHE 1 #define SSL_ADD_KEY_TO_CA_LIST 2 #define SSL_FIND_ISSUER 3 extern CipherSpec * SslAvailableCiphers; extern DWORD SslNumberAvailableCiphers; extern BOOLEAN CryptoOk;