Merge pull request #502 from stqism/issue-470-fix

Fixed issue #470, crypto_test still forcing libsodium when NaCL is chosen
This commit is contained in:
irungentoo 2013-08-20 04:39:12 -07:00
commit 3707833f0b

View File

@ -5,7 +5,12 @@
#include <check.h>
#include <stdlib.h>
#include <time.h>
#ifndef VANILLA_NACL
#include <sodium.h>
#else
#include <crypto_box.h>
#define crypto_box_MACBYTES (crypto_box_ZEROBYTES - crypto_box_BOXZEROBYTES)
#endif
void rand_bytes(uint8_t *b, size_t blen)
{