diff --git a/saco/archive/CryptoContext.cpp b/saco/archive/CryptoContext.cpp index a94c622..75afbd0 100644 --- a/saco/archive/CryptoContext.cpp +++ b/saco/archive/CryptoContext.cpp @@ -8,6 +8,7 @@ DWORD CCryptoContext::ms_dwRefCount = 0; DWORD CCryptoContext::ms_dwProviderType = PROV_RSA_FULL; LPTSTR CCryptoContext::ms_szProviderName = NULL; LPTSTR CCryptoContext::ms_szContainerName = (LPTSTR)"SAMP"; +HMODULE CCryptoContext::ms_hAdvApi32 = NULL; //------------------------------------ diff --git a/saco/archive/CryptoContext.h b/saco/archive/CryptoContext.h index 0075632..d9c950d 100644 --- a/saco/archive/CryptoContext.h +++ b/saco/archive/CryptoContext.h @@ -11,6 +11,8 @@ private: static LPTSTR ms_szProviderName; static LPTSTR ms_szContainerName; + static HMODULE ms_hAdvApi32; + HCRYPTPROV m_hCryptProv; public: