Github user roodkcab commented on the issue:
https://github.com/apache/zookeeper/pull/625
I added openssl to zookeeper's c client, it's more like a wrapper to the
plain socket, I changed the file descriptor from a socket_t to zsock_t in
_zhandle, it contains ssl context and a struct named zcert_t which provides the
location of rootCA, client's cert, client's key and password to the key. ---
