Skip to content

Commit

Permalink
fix: tests/cipher_hash_test.c failed to use aes_enc_test
Browse files Browse the repository at this point in the history
Depending on build circumstances, the AES test function is either
aes_test() or aes_enc_test().
  • Loading branch information
levitte authored and sjaeckel committed Aug 20, 2024
1 parent 668bd74 commit 6170ba5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/cipher_hash_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,13 @@ int cipher_hash_test(void)
}
DO(rijndael_test());
#endif
#if defined(LTC_RIJNDAEL)
#ifndef ENCRYPT_ONLY
DO(aes_test());
#else
DO(aes_enc_test());
#endif
#endif

/* test stream ciphers */
#ifdef LTC_CHACHA
Expand Down

0 comments on commit 6170ba5

Please sign in to comment.