mirror of https://github.com/lianthony/NT4.0
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
930 B
45 lines
930 B
//+---------------------------------------------------------------------------
|
|
//
|
|
// 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;
|