mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-17 02:59:05 -04:00
Fix preprocessor conditional
This was intended as an if-else-if chain. Make it so. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
3efd3149f8
commit
9494a99c2f
@ -71,8 +71,7 @@
|
|||||||
* likely remove the assembly implementation. */
|
* likely remove the assembly implementation. */
|
||||||
#if defined(MBEDTLS_HAVE_X86_64)
|
#if defined(MBEDTLS_HAVE_X86_64)
|
||||||
#define MBEDTLS_AESNI_HAVE_CODE 1 // via assembly
|
#define MBEDTLS_AESNI_HAVE_CODE 1 // via assembly
|
||||||
#endif
|
#elif defined(MBEDTLS_AESNI_HAVE_INTRINSICS)
|
||||||
#if defined(MBEDTLS_AESNI_HAVE_INTRINSICS)
|
|
||||||
#define MBEDTLS_AESNI_HAVE_CODE 2 // via intrinsics
|
#define MBEDTLS_AESNI_HAVE_CODE 2 // via intrinsics
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user