Merge pull request #1296 from vozi/ccm-star-bug-fix

fixed memory bug
This commit is contained in:
Simon Duquennoy 2015-10-06 16:01:48 +02:00
commit 46c2f78614

View File

@ -114,7 +114,6 @@ mic(const uint8_t *m, uint8_t m_len,
}
if(m_len > 0) {
m = a + a_len;
pos = 0;
while(pos < m_len) {
for(i = 0; (pos + i < m_len) && (i < AES_128_BLOCK_SIZE); i++) {