diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2017-06-13 01:23:54 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2017-06-13 01:26:22 +0200 |
commit | ba1fbb688edf7db0edf3ea9d24a95d5a5ef2260c (patch) | |
tree | 437b12ad243189a0c9f6db7c77edba5052499751 /src/Crypto/Twofish_x64.S | |
parent | 95bf8f85745bedeb09b82c187eb668d632f53424 (diff) | |
download | VeraCrypt-ba1fbb688edf7db0edf3ea9d24a95d5a5ef2260c.tar.gz VeraCrypt-ba1fbb688edf7db0edf3ea9d24a95d5a5ef2260c.zip |
Linux: fix executable stack in resulting binary which was caused by crypto assembly files missing the GNU-stack note.
Diffstat (limited to 'src/Crypto/Twofish_x64.S')
-rw-r--r-- | src/Crypto/Twofish_x64.S | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Crypto/Twofish_x64.S b/src/Crypto/Twofish_x64.S index 1e271691..c3483e33 100644 --- a/src/Crypto/Twofish_x64.S +++ b/src/Crypto/Twofish_x64.S @@ -312,3 +312,8 @@ movq %r8, %rdx; .endif ret; +#if defined(__linux__) && defined(__ELF__) +.section .note.GNU-stack,"",%progbits +#endif + + |