diff options
author | irungentoo <irungentoo@gmail.com> | 2013-08-03 12:45:44 -0400 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2013-08-03 12:45:44 -0400 |
commit | fb14b3eccdaeb992d9bbf320d68b810a4fcc5a5b (patch) | |
tree | 06de45befd9dfffa40e5a9bd7bab6232e6a937b1 | |
parent | 646fe213a8caa95f4534e563d49a1a880240551b (diff) |
Fixed compatibility with original NaCl.
-rw-r--r-- | core/network.h | 1 |
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 |