summaryrefslogtreecommitdiffstats
path: root/src/mbedTLS++/AesCfb128Decryptor.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2021-03-28 14:34:57 +0200
committerGitHub <noreply@github.com>2021-03-28 14:34:57 +0200
commit5123850db075b69272700b32314dc9b04e0b43b3 (patch)
tree35d68728a4550f760241804442c08f0e9db91484 /src/mbedTLS++/AesCfb128Decryptor.h
parentUpdate Copyright year (#5165) (diff)
downloadcuberite-5123850db075b69272700b32314dc9b04e0b43b3.tar
cuberite-5123850db075b69272700b32314dc9b04e0b43b3.tar.gz
cuberite-5123850db075b69272700b32314dc9b04e0b43b3.tar.bz2
cuberite-5123850db075b69272700b32314dc9b04e0b43b3.tar.lz
cuberite-5123850db075b69272700b32314dc9b04e0b43b3.tar.xz
cuberite-5123850db075b69272700b32314dc9b04e0b43b3.tar.zst
cuberite-5123850db075b69272700b32314dc9b04e0b43b3.zip
Diffstat (limited to 'src/mbedTLS++/AesCfb128Decryptor.h')
-rw-r--r--src/mbedTLS++/AesCfb128Decryptor.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mbedTLS++/AesCfb128Decryptor.h b/src/mbedTLS++/AesCfb128Decryptor.h
index a2c9d6a05..1fee2bbba 100644
--- a/src/mbedTLS++/AesCfb128Decryptor.h
+++ b/src/mbedTLS++/AesCfb128Decryptor.h
@@ -9,7 +9,7 @@
#pragma once
-#ifdef _WIN32
+#if PLATFORM_CRYPTOGRAPHY && defined(_WIN32)
#include <wincrypt.h>
#else
#include "mbedtls/aes.h"
@@ -38,7 +38,7 @@ public:
protected:
-#ifdef _WIN32
+#if PLATFORM_CRYPTOGRAPHY && defined(_WIN32)
HCRYPTPROV m_Aes;
HCRYPTKEY m_Key;
#else