diff --git a/test/crypto/aestest.c b/test/crypto/aestest.c index df1df0a13..1cac67212 100644 --- a/test/crypto/aestest.c +++ b/test/crypto/aestest.c @@ -31,5 +31,6 @@ int main(void){ // test invalid key len uint32_t rk[RKLENGTH(KEYBITS)]; - btstack_assert(rijndaelSetupEncrypt(rk, &key[0], 0) == 0); + int result = rijndaelSetupEncrypt(rk, &key[0], 0); + btstack_assert(result == 0); }