Leaked source code of windows server 2003
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.
 
 
 
 
 
 

80 lines
1.5 KiB

/*++
Copyright (c) 1994-1998 Microsoft Corporation
Module Name:
glodata.c
Abstract:
Global data definitions for tshare security.
Author:
Madan Appiah (madana) 24-Jan-1998
Environment:
User Mode - Win32
Revision History:
--*/
#include <nt.h>
#include <ntrtl.h>
#include <nturtl.h>
#include <ntlsa.h>
#include <windows.h>
#include <winbase.h>
#include <winerror.h>
#include <tchar.h>
#include <stdio.h>
#include "license.h"
#include "cryptkey.h"
#include "lscsp.h"
#include "tlsapip.h"
#include "certutil.h"
#include "hydrakey.h"
#include <md5.h>
#include <sha.h>
#include <rsa.h>
#include <secdbg.h>
#include "global.h"
#ifdef OS_WIN16
#include <string.h>
#endif // OS_WIN16
//
// global data definitions.
//
BYTE csp_abPublicKeyModulus[92] = HYDRA_ROOT_PUBLIC_KEY;
LPBSAFE_PUB_KEY csp_pRootPublicKey = NULL;
LPBYTE csp_abServerCertificate = NULL;
DWORD csp_dwServerCertificateLen = 0;
LPBYTE csp_abServerX509Cert = NULL;
DWORD csp_dwServerX509CertLen = 0;
LPBYTE csp_abX509CertID = NULL;
DWORD csp_dwX509CertIDLen = 0;
HANDLE csp_hMutex = NULL;
LONG csp_InitCount = 0;
Hydra_Server_Cert csp_hscData;
HINSTANCE g_hinst;
LPBYTE csp_abServerPrivateKey = NULL;
DWORD csp_dwServerPrivateKeyLen = 0;
LPBYTE csp_abX509CertPrivateKey = NULL;
DWORD csp_dwX509CertPrivateKeyLen = 0;