diff options
author | Jack Lloyd <[email protected]> | 2018-03-15 17:20:43 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-03-15 17:20:43 -0400 |
commit | 5a0598bde3edf9d0a597ad1414722ee8d9cf226f (patch) | |
tree | b28cf5abb0b2392b6664bc2da37aef5a33455046 /src | |
parent | ab87904caa2c7c734da59facea39862e909316e3 (diff) |
Fix incorrect return value check
Diffstat (limited to 'src')
-rwxr-xr-x | src/python/botan2.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/botan2.py b/src/python/botan2.py index 85bf53235..0b591b039 100755 --- a/src/python/botan2.py +++ b/src/python/botan2.py @@ -44,7 +44,7 @@ def load_botan_dll(expected_version): dll = CDLL(dll_name) dll.botan_ffi_supports_api.argtypes = [c_uint32] dll.botan_ffi_supports_api.restype = c_int - if dll.botan_ffi_supports_api(expected_version) == 1: + if dll.botan_ffi_supports_api(expected_version) == 0: return dll except OSError: pass |