EVP AES XTS: check correct define

HAVE_AES_CTX -> WOLFSSL_AES_XTS
This commit is contained in:
Sean Parkinson
2020-09-25 11:17:04 +10:00
parent 1668f6f626
commit d514189710

View File

@@ -1150,7 +1150,7 @@ int wolfSSL_EVP_CIPHER_block_size(const WOLFSSL_EVP_CIPHER *cipher)
case AES_256_OFB_TYPE:
return 1;
#endif
#if defined(HAVE_AES_XTS)
#if defined(WOLFSSL_AES_XTS)
case AES_128_XTS_TYPE:
case AES_256_XTS_TYPE:
return 1;