From 230dd86906da05efb118b93044c4104c5a10cf5e Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Tue, 24 Jul 2018 17:13:09 +1000 Subject: [PATCH] revert --- llarp/crypto_libsodium.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llarp/crypto_libsodium.cpp b/llarp/crypto_libsodium.cpp index 4a10b1536..e21515eb8 100644 --- a/llarp/crypto_libsodium.cpp +++ b/llarp/crypto_libsodium.cpp @@ -11,7 +11,7 @@ namespace llarp static bool xchacha20(llarp_buffer_t buff, const byte_t *k, const byte_t *n) { - return crypto_stream_chacha20_xor(buff.base, buff.base, buff.sz, n, k) + return crypto_stream_xchacha20_xor(buff.base, buff.base, buff.sz, n, k) == 0; }