From 48bd6702aacbb7b2a569902187ce398a06f0f848 Mon Sep 17 00:00:00 2001 From: Steffen Jaeckel Date: Thu, 17 Jul 2014 11:32:52 +0200 Subject: [PATCH] uncomment argchk in camellia_setup() --- src/ciphers/camellia.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ciphers/camellia.c b/src/ciphers/camellia.c index 41deb40..e238525 100644 --- a/src/ciphers/camellia.c +++ b/src/ciphers/camellia.c @@ -213,8 +213,8 @@ int camellia_setup(const unsigned char *key, int keylen, int num_rounds, symmetr int x; ulong64 A, B; -// LTC_ARGCHK(key != NULL); -// LTC_ARGCHK(skey != NULL); + LTC_ARGCHK(key != NULL); + LTC_ARGCHK(skey != NULL); /* Valid sizes (in bytes) are 16, 24, 32 */ if (keylen != 16 && keylen != 24 && keylen != 32) {