From 425cee64a7bab7963e1b563fff4bb598078cb8e3 Mon Sep 17 00:00:00 2001 From: John Safranek Date: Thu, 12 Apr 2018 16:38:17 -0700 Subject: [PATCH] AES assembly file name change Some versions of GCC on the Mac will not run the file aes_asm.s through the preprocessor. There are some ifdefs in the file that are included when they shouldn't be. This is not a problem on Linux. Renaming the file to have a capital S extension forces the assembler to run with the preprocessor. --- src/include.am | 2 +- wolfcrypt/src/{aes_asm.s => aes_asm.S} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename wolfcrypt/src/{aes_asm.s => aes_asm.S} (99%) diff --git a/src/include.am b/src/include.am index 4a57f52d0..67fc6b610 100644 --- a/src/include.am +++ b/src/include.am @@ -204,7 +204,7 @@ src_libwolfssl_la_SOURCES += wolfcrypt/src/dsa.c endif if BUILD_AESNI -src_libwolfssl_la_SOURCES += wolfcrypt/src/aes_asm.s +src_libwolfssl_la_SOURCES += wolfcrypt/src/aes_asm.S endif if BUILD_CAMELLIA diff --git a/wolfcrypt/src/aes_asm.s b/wolfcrypt/src/aes_asm.S similarity index 99% rename from wolfcrypt/src/aes_asm.s rename to wolfcrypt/src/aes_asm.S index 1791837b7..cff57db9d 100644 --- a/wolfcrypt/src/aes_asm.s +++ b/wolfcrypt/src/aes_asm.S @@ -1,4 +1,4 @@ -/* aes_asm.s +/* aes_asm.S * * Copyright (C) 2006-2017 wolfSSL Inc. *