From 98041c3628f853321a3075cdcb95f0abff25ac32 Mon Sep 17 00:00:00 2001 From: RD42 <42702181+dashr9230@users.noreply.github.com> Date: Thu, 23 May 2024 22:26:18 +0800 Subject: [PATCH] [saco] Add ms_dwRSAKeySize variable to CKeyPair --- saco/archive/KeyPair.cpp | 4 ++++ saco/archive/KeyPair.h | 2 ++ 2 files changed, 6 insertions(+) diff --git a/saco/archive/KeyPair.cpp b/saco/archive/KeyPair.cpp index 7624b92..7874f6e 100644 --- a/saco/archive/KeyPair.cpp +++ b/saco/archive/KeyPair.cpp @@ -4,6 +4,10 @@ //------------------------------------ +DWORD CKeyPair::ms_dwRSAKeySize = 1024; + +//------------------------------------ + CKeyPair::CKeyPair(CCryptoContext* pContext) { m_pContext = pContext; diff --git a/saco/archive/KeyPair.h b/saco/archive/KeyPair.h index e754d36..2e5cf73 100644 --- a/saco/archive/KeyPair.h +++ b/saco/archive/KeyPair.h @@ -7,6 +7,8 @@ class CKeyPair { private: + static DWORD ms_dwRSAKeySize; + HCRYPTKEY m_hCryptKey; CCryptoContext* m_pContext;