R is const.

This commit is contained in:
Romain Tartiere 2011-02-23 15:08:47 +00:00
parent ca1fc02d6e
commit db489b6cb7

View file

@ -105,7 +105,7 @@ void
cmac_generate_subkeys (MifareDESFireKey key)
{
int kbs = key_block_size (key);
uint8_t R = (kbs == 8) ? 0x1B : 0x87;
const uint8_t R = (kbs == 8) ? 0x1B : 0x87;
uint8_t l[kbs];
memset (l, 0, kbs);