[saco] Add ms_dwRSAKeySize variable to CKeyPair

This commit is contained in:
RD42 2024-05-23 22:26:18 +08:00
parent 8ec4a246a6
commit 98041c3628
2 changed files with 6 additions and 0 deletions

View File

@ -4,6 +4,10 @@
//------------------------------------ //------------------------------------
DWORD CKeyPair::ms_dwRSAKeySize = 1024;
//------------------------------------
CKeyPair::CKeyPair(CCryptoContext* pContext) CKeyPair::CKeyPair(CCryptoContext* pContext)
{ {
m_pContext = pContext; m_pContext = pContext;

View File

@ -7,6 +7,8 @@
class CKeyPair class CKeyPair
{ {
private: private:
static DWORD ms_dwRSAKeySize;
HCRYPTKEY m_hCryptKey; HCRYPTKEY m_hCryptKey;
CCryptoContext* m_pContext; CCryptoContext* m_pContext;