Use libsodium's s < L check, instead checking that libsodium checks that.

This commit is contained in:
Taylor Hornby
2016-08-18 16:38:20 -06:00
parent a635d6e995
commit 2902ac7ce8
7 changed files with 62 additions and 44 deletions

View File

@@ -6,7 +6,7 @@
#include "test_bitcoin.h"
#include "sodium.h"
#include "crypto/common.h"
#include "key.h"
#include "main.h"
@@ -32,7 +32,7 @@ extern void noui_connect();
BasicTestingSetup::BasicTestingSetup()
{
assert(sodium_init() != -1);
assert(init_and_check_sodium() != -1);
ECC_Start();
SetupEnvironment();
fPrintToDebugLog = false; // don't want to write to debug.log file