diff --git a/test/testcrypt.py b/test/testcrypt.py index ab1e485d..999453bc 100644 --- a/test/testcrypt.py +++ b/test/testcrypt.py @@ -176,7 +176,7 @@ def make_retval(rettype, word, unpack_strings): retwords[0]) if rettype.startswith("val_"): return Value(rettype, word) - elif rettype == "uint": + elif rettype == "int" or rettype == "uint": return int(word, 0) elif rettype == "boolean": assert word == b"true" or word == b"false"