diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-06-16 20:29:40 -0600 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-06-20 14:43:16 -0500 |
commit | dccbc9b00a17afcfdee35505fcf69bf3ce076056 (patch) | |
tree | 77e1189a26098a270a4178ad690b13f7cb29b8dc /src/_cffi_src/build_constant_time.py | |
parent | 325453c941d29e79f3ad413df5ecbfbe966b4f79 (diff) | |
download | cryptography-dccbc9b00a17afcfdee35505fcf69bf3ce076056.tar.gz cryptography-dccbc9b00a17afcfdee35505fcf69bf3ce076056.tar.bz2 cryptography-dccbc9b00a17afcfdee35505fcf69bf3ce076056.zip |
enable ASLR and NX on windows builds (affects 2.x only)
Diffstat (limited to 'src/_cffi_src/build_constant_time.py')
-rw-r--r-- | src/_cffi_src/build_constant_time.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/_cffi_src/build_constant_time.py b/src/_cffi_src/build_constant_time.py index eae0f21a..6d9a8f54 100644 --- a/src/_cffi_src/build_constant_time.py +++ b/src/_cffi_src/build_constant_time.py @@ -5,8 +5,9 @@ from __future__ import absolute_import, division, print_function import os +import sys -from _cffi_src.utils import build_ffi +from _cffi_src.utils import build_ffi, extra_link_args with open(os.path.join( @@ -22,5 +23,6 @@ with open(os.path.join( ffi = build_ffi( module_name="_constant_time", cdef_source=types, - verify_source=functions + verify_source=functions, + extra_link_args=extra_link_args(sys.platform), ) |