diff --git a/configure.py b/configure.py index 20bf5b7d101..6ddc73c301e 100755 --- a/configure.py +++ b/configure.py @@ -1517,7 +1517,7 @@ def get_openssl_version(o): return version_number - except (OSError, ValueError, subprocess.SubprocessError) as e: + except (OSError, TypeError, ValueError, subprocess.SubprocessError) as e: warn(f'Failed to determine OpenSSL version from header: {e}') return 0