diff options
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/stdcrypt/commonheaders.h | 1 | ||||
-rw-r--r-- | src/core/stdcrypt/encrypt.cpp | 4 |
2 files changed, 5 insertions, 0 deletions
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 <m_icolib.h>
#include <m_modernopt.h>
#include <m_timezones.h>
+#include <m_crypto.h>
#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;
}
|