From 72eb97b648861bcd03744a027eb09d0410acdf1e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 12 Nov 2013 19:51:48 +0000 Subject: first MS_CRYPTO_REGISTER_ENGINE implementation git-svn-id: http://svn.miranda-ng.org/main/trunk@6879 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/core/stdcrypt/commonheaders.h | 1 + src/core/stdcrypt/encrypt.cpp | 4 ++++ 2 files changed, 5 insertions(+) (limited to 'src/core') diff --git a/src/core/stdcrypt/commonheaders.h b/src/core/stdcrypt/commonheaders.h index 4edcc6e358..a16eb54b8e 100644 --- a/src/core/stdcrypt/commonheaders.h +++ b/src/core/stdcrypt/commonheaders.h @@ -65,6 +65,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include #include #include +#include #include "version.h" diff --git a/src/core/stdcrypt/encrypt.cpp b/src/core/stdcrypt/encrypt.cpp index e86e34437d..fc72e74abc 100644 --- a/src/core/stdcrypt/encrypt.cpp +++ b/src/core/stdcrypt/encrypt.cpp @@ -25,5 +25,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. int LoadEncryptionModule(void) { + CRYPTO_PROVIDER cp = { sizeof(cp) }; + cp.pszName = "AES (Rjindale)"; + cp.pszDescr = LPGEN("Standard crypto provider"); + Crypto_RegisterEngine(&cp); return 0; } -- cgit v1.2.3