From 07bf3f5d2c11d206f7d092ca336780238b385aa6 Mon Sep 17 00:00:00 2001 From: Ray Zane Date: Thu, 22 Mar 2018 13:18:21 -0400 Subject: [PATCH] Cox::LibSodium::NONCE_BYTES points to the wrong function --- src/cox/lib_sodium.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cox/lib_sodium.cr b/src/cox/lib_sodium.cr index 8139fb0..06ab66f 100644 --- a/src/cox/lib_sodium.cr +++ b/src/cox/lib_sodium.cr @@ -13,7 +13,7 @@ module Cox PUBLIC_KEY_BYTES = crypto_box_publickeybytes() SECRET_KEY_BYTES = crypto_box_secretkeybytes() - NONCE_BYTES = crypto_box_macbytes() + NONCE_BYTES = crypto_box_noncebytes() MAC_BYTES = crypto_box_macbytes() PUBLIC_SIGN_BYTES = crypto_sign_publickeybytes() SECRET_SIGN_BYTES = crypto_sign_secretkeybytes()