Kamailio's **srutils** SHA functions have names that collide with OpenSSL's **libcrypto** SHA functions. In practice, OpenSSL fails to validate a server cert if **srutils** is loaded before **libcrypto**, because their SHA functions are not 100% equivalent.
On my Debian, **http_async_client** was unable to issue any HTTPS request unless server certificate verification was disabled. This patch solves the issue by renaming the SHA functions in **srutils** to non-colliding names. I think this has no side effect because they are only used internally. You can view, comment on, or merge this pull request online at: https://github.com/kamailio/kamailio/pull/513 -- Commit Summary -- * srutils: change names colliding with libcrypto -- File Changes -- M lib/srutils/sha256.c (56) M lib/srutils/sha256.h (98) M lib/srutils/shautils.c (18) -- Patch Links -- https://github.com/kamailio/kamailio/pull/513.patch https://github.com/kamailio/kamailio/pull/513.diff --- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/513
_______________________________________________ sr-dev mailing list [email protected] http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
