Skip to content

Commit 7ebbb92

Browse files
committed
wolfssl/wolfcrypt/aes.h: don't set WC_AESFREE_IS_MANDATORY for WOLF_CRYPTO_CB -- free is only needed when callbacks are both installed and used.
1 parent 2ffc818 commit 7ebbb92

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

wolfssl/wolfcrypt/aes.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,6 @@ typedef struct XtsAes {
407407
(defined(WOLFSSL_DEVCRYPTO) && \
408408
(defined(WOLFSSL_DEVCRYPTO_AES) || \
409409
defined(WOLFSSL_DEVCRYPTO_CBC))) || \
410-
defined(WOLF_CRYPTO_CB) || \
411410
defined(WOLFSSL_IMXRT_DCP) || \
412411
(defined(WOLFSSL_AESGCM_STREAM) && defined(WOLFSSL_SMALL_STACK) && \
413412
!defined(WOLFSSL_AESNI)) || \

0 commit comments

Comments
 (0)