diff options
| author | John Bampton <[email protected]> | 2018-05-11 01:28:27 +1000 |
|---|---|---|
| committer | John Bampton <[email protected]> | 2018-05-11 07:59:05 +1000 |
| commit | 0d31ef4762f5a1428a57439d26551a99f15ddc2e (patch) | |
| tree | b2943f8b56ffef8d12fdf8d79ed9d04cd8a8c62b /contrib/devtools/security-check.py | |
| parent | Merge #13192: [tests] Fixed intermittent failure in p2p_sendheaders.py. (diff) | |
| download | discoin-0d31ef4762f5a1428a57439d26551a99f15ddc2e.tar.xz discoin-0d31ef4762f5a1428a57439d26551a99f15ddc2e.zip | |
Enable W191 and W291 flake8 checks.
Remove trailing whitespace from Python files.
Convert tabs to spaces.
Diffstat (limited to 'contrib/devtools/security-check.py')
| -rwxr-xr-x | contrib/devtools/security-check.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/devtools/security-check.py b/contrib/devtools/security-check.py index 0f2099953..c9516ef83 100755 --- a/contrib/devtools/security-check.py +++ b/contrib/devtools/security-check.py @@ -150,7 +150,7 @@ def check_PE_DYNAMIC_BASE(executable): def check_PE_HIGH_ENTROPY_VA(executable): '''PIE: DllCharacteristics bit 0x20 signifies high-entropy ASLR''' (arch,bits) = get_PE_dll_characteristics(executable) - if arch == 'i386:x86-64': + if arch == 'i386:x86-64': reqbits = IMAGE_DLL_CHARACTERISTICS_HIGH_ENTROPY_VA else: # Unnecessary on 32-bit assert(arch == 'i386') |