Use libsodium's s < L check, instead checking that libsodium checks that.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user