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

@@ -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;
}