Fixed compatibility with original NaCl.

This commit is contained in:
irungentoo 2013-08-03 12:45:44 -04:00
parent 646fe213a8
commit fb14b3eccd

View File

@ -57,6 +57,7 @@
#include <sodium.h> #include <sodium.h>
#else #else
#include <crypto_box.h> #include <crypto_box.h>
#define crypto_box_MACBYTES (crypto_box_ZEROBYTES - crypto_box_BOXZEROBYTES)
#endif #endif
#ifdef __cplusplus #ifdef __cplusplus