[saco] Add ms_hAdvApi32 variable to CCryptoContext

This commit is contained in:
RD42 2024-05-23 22:26:55 +08:00
parent 98041c3628
commit 16f92725a7
2 changed files with 3 additions and 0 deletions

View File

@ -8,6 +8,7 @@ DWORD CCryptoContext::ms_dwRefCount = 0;
DWORD CCryptoContext::ms_dwProviderType = PROV_RSA_FULL; DWORD CCryptoContext::ms_dwProviderType = PROV_RSA_FULL;
LPTSTR CCryptoContext::ms_szProviderName = NULL; LPTSTR CCryptoContext::ms_szProviderName = NULL;
LPTSTR CCryptoContext::ms_szContainerName = (LPTSTR)"SAMP"; LPTSTR CCryptoContext::ms_szContainerName = (LPTSTR)"SAMP";
HMODULE CCryptoContext::ms_hAdvApi32 = NULL;
//------------------------------------ //------------------------------------

View File

@ -11,6 +11,8 @@ private:
static LPTSTR ms_szProviderName; static LPTSTR ms_szProviderName;
static LPTSTR ms_szContainerName; static LPTSTR ms_szContainerName;
static HMODULE ms_hAdvApi32;
HCRYPTPROV m_hCryptProv; HCRYPTPROV m_hCryptProv;
public: public: