1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-24 04:25:10 -07:00

Fix bad typo in the crypto_box wrapper

This commit is contained in:
Frank Denis 2013-04-22 11:20:45 -07:00
parent 429917f8d6
commit e11c852ab3

View File

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