summaryrefslogtreecommitdiff
path: root/src/encryption.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/encryption.h')
-rw-r--r--src/encryption.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/encryption.h b/src/encryption.h
index c780e2b..1c38141 100644
--- a/src/encryption.h
+++ b/src/encryption.h
@@ -6,6 +6,8 @@
6// manually run `sodium_init()` in some main or init function of your own so that you can deal with a potential error yourself 6// manually run `sodium_init()` in some main or init function of your own so that you can deal with a potential error yourself
7#define ___VXGG___ALWAYS_CHECK_LIBSODIUM___ 0 7#define ___VXGG___ALWAYS_CHECK_LIBSODIUM___ 0
8 8
9#define CHUNK_SIZE ((int)(1 << 12))
10
9#if defined ___VXGG___ALWAYS_CHECK_LIBSODIUM___ && ___VXGG___ALWAYS_CHECK_LIBSODIUM___ > 0 11#if defined ___VXGG___ALWAYS_CHECK_LIBSODIUM___ && ___VXGG___ALWAYS_CHECK_LIBSODIUM___ > 0
10 12
11// Definition for the callback function that fires when a call to checksodium fails 13// Definition for the callback function that fires when a call to checksodium fails