From 3cd582aeb3b715ac5d0fecbceccd8493b1221e57 Mon Sep 17 00:00:00 2001 From: Sean Qureshi Date: Tue, 20 Aug 2013 02:29:17 -0700 Subject: [PATCH] Fixed issue 470, crypto_test still forcing libsodium when NaCL is chosen --- auto_tests/crypto_test.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/auto_tests/crypto_test.c b/auto_tests/crypto_test.c index 6b9f6113..01c545c8 100644 --- a/auto_tests/crypto_test.c +++ b/auto_tests/crypto_test.c @@ -5,7 +5,12 @@ #include #include #include +#ifndef VANILLA_NACL #include +#else +#include +#define crypto_box_MACBYTES (crypto_box_ZEROBYTES - crypto_box_BOXZEROBYTES) +#endif void rand_bytes(uint8_t *b, size_t blen) {