From e11c852ab39be17d42532d7985eea16dcb9ed6ba Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Mon, 22 Apr 2013 11:20:45 -0700 Subject: [PATCH] Fix bad typo in the crypto_box wrapper --- src/libsodium/crypto_box/crypto_box.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libsodium/crypto_box/crypto_box.c b/src/libsodium/crypto_box/crypto_box.c index 4edb893c..7ec820a4 100644 --- a/src/libsodium/crypto_box/crypto_box.c +++ b/src/libsodium/crypto_box/crypto_box.c @@ -75,7 +75,7 @@ crypto_box_open_afternm(unsigned char *m, const unsigned char *c, unsigned long long clen, const unsigned char *n, const unsigned char *k) { - return crypto_box_curve25519xsalsa20poly1305_open_afternm(m, c, clen, m, k); + return crypto_box_curve25519xsalsa20poly1305_open_afternm(m, c, clen, n, k); } int