aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsrc/python/botan2.py2
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