fix error when compiling w/ LTC_CLEAN_STACK but w/o LTC_FAST

This commit is contained in:
Steffen Jaeckel 2017-06-06 18:33:28 +02:00
parent 40747cfcfd
commit 8c1d55f4c0

View File

@ -378,7 +378,9 @@ int ccm_memory(int cipher,
} }
#ifdef LTC_CLEAN_STACK #ifdef LTC_CLEAN_STACK
#ifdef LTC_FAST
fastMask = 0; fastMask = 0;
#endif
mask = 0; mask = 0;
zeromem(skey, sizeof(*skey)); zeromem(skey, sizeof(*skey));
zeromem(PAD, sizeof(PAD)); zeromem(PAD, sizeof(PAD));