1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
Description: building the Python parts without OpenSSL support, as the main
C library in zookeeper-client/zookeeper-client-c (which it relies on) would
try to use FIPS_mode if built with OpenSSL support, and this function has been
removed some versions of OpenSSL ago.
Author: Pierre Gruet <pgt@debian.org>
Forwarded: no
Last-Update: 2022-06-18
--- a/zookeeper-contrib/zookeeper-contrib-zkpython/src/python/setup.py
+++ b/zookeeper-contrib/zookeeper-contrib-zkpython/src/python/setup.py
@@ -21,11 +21,6 @@
zookeeper_macros = [("THREADED", None)]
-# Assume the C extension includes OpenSSL support unless told
-# otherwise.
-if not os.environ.get("ZKPYTHON_NO_SSL"):
- zookeeper_macros.append(("HAVE_OPENSSL_H", True))
-
zookeepermodule = Extension("zookeeper",
sources=["src/c/zookeeper.c"],
define_macros=zookeeper_macros,
|