From e34f3512ad2debbe766675ed0a3f5f39beebaf8b Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Mon, 21 Mar 2016 12:13:11 +0100 Subject: [PATCH] clen -> clen_p --- .../crypto_aead/aes256gcm/aesni/aead_aes256gcm_aesni.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libsodium/crypto_aead/aes256gcm/aesni/aead_aes256gcm_aesni.c b/src/libsodium/crypto_aead/aes256gcm/aesni/aead_aes256gcm_aesni.c index 06dea3bd..4f264c0b 100644 --- a/src/libsodium/crypto_aead/aes256gcm/aesni/aead_aes256gcm_aesni.c +++ b/src/libsodium/crypto_aead/aes256gcm/aesni/aead_aes256gcm_aesni.c @@ -629,7 +629,7 @@ crypto_aead_aes256gcm_encrypt_detached_afternm(unsigned char *c, } int -crypto_aead_aes256gcm_encrypt_afternm(unsigned char *c, unsigned long long *clen, +crypto_aead_aes256gcm_encrypt_afternm(unsigned char *c, unsigned long long *clen_p, const unsigned char *m, unsigned long long mlen, const unsigned char *ad, unsigned long long adlen, const unsigned char *nsec, @@ -641,8 +641,8 @@ crypto_aead_aes256gcm_encrypt_afternm(unsigned char *c, unsigned long long *clen m, mlen, ad, adlen, nsec, npub, ctx_); - if (clen != NULL) { - *clen = mlen + 16; + if (clen_p != NULL) { + *clen_p = mlen + 16; } return ret; }