summaryrefslogtreecommitdiff
path: root/core/network.h
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2013-08-03 12:45:44 -0400
committerirungentoo <irungentoo@gmail.com>2013-08-03 12:45:44 -0400
commitfb14b3eccdaeb992d9bbf320d68b810a4fcc5a5b (patch)
tree06de45befd9dfffa40e5a9bd7bab6232e6a937b1 /core/network.h
parent646fe213a8caa95f4534e563d49a1a880240551b (diff)
Fixed compatibility with original NaCl.
Diffstat (limited to 'core/network.h')
-rw-r--r--core/network.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/network.h b/core/network.h
index a5f7899b..a7559ebe 100644
--- a/core/network.h
+++ b/core/network.h
@@ -57,6 +57,7 @@
57#include <sodium.h> 57#include <sodium.h>
58#else 58#else
59#include <crypto_box.h> 59#include <crypto_box.h>
60#define crypto_box_MACBYTES (crypto_box_ZEROBYTES - crypto_box_BOXZEROBYTES)
60#endif 61#endif
61 62
62#ifdef __cplusplus 63#ifdef __cplusplus