From 090aa6ce18ade61294ba6355886f63f1c77856d6 Mon Sep 17 00:00:00 2001 From: Xavrax Date: Fri, 6 Oct 2023 01:44:00 +0200 Subject: [PATCH] macros... --- core/pbcc_crypto.c | 2 ++ core/pbcc_crypto_aes_cbc.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/core/pbcc_crypto.c b/core/pbcc_crypto.c index 16e69afb..93be5fc2 100644 --- a/core/pbcc_crypto.c +++ b/core/pbcc_crypto.c @@ -4,7 +4,9 @@ #include #include "pbbase64.h" #include "pbcc_crypto.h" +#if PUBNUB_CRYPTO_API #include "pbsha256.h" +#endif #include "pbaes256.h" #include "pubnub_crypto.h" #include "pubnub_log.h" diff --git a/core/pbcc_crypto_aes_cbc.c b/core/pbcc_crypto_aes_cbc.c index 0fbc690b..c8bc5d0c 100644 --- a/core/pbcc_crypto_aes_cbc.c +++ b/core/pbcc_crypto_aes_cbc.c @@ -1,7 +1,9 @@ #include #include "pbcc_crypto.h" #include "pbaes256.h" +#if PUBNUB_CRYPTO_API #include "pbbase64.h" +#endif #include "pubnub_crypto.h" #include "pubnub_memory_block.h" #include "pubnub_log.h"