Auto merge of #1268 - ThisIsNotOfficialCodeItsJustForks:t1130-upgrade-libsodium, r=ebfull

Upgrade libsodium for AVX2-detection bugfix.

Upgrades libsodium to bring in an AVX2-detection bugfix (to help with #1130).
This commit is contained in:
zkbot
2016-08-22 02:34:30 +00:00
8 changed files with 65 additions and 47 deletions

View File

@@ -1,11 +1,11 @@
#include "zcash/JoinSplit.hpp"
#include <iostream>
#include "sodium.h"
#include "crypto/common.h"
int main(int argc, char **argv)
{
if (sodium_init() == -1) {
if (init_and_check_sodium() == -1) {
return 1;
}