Hello,
OpenSSL renamed function SSLeay to OpenSSL_version_num.
So, so depending on what version of library we work with we
need to call either SSLeay or OpenSSL_version_num.
What is the best way to do it?
The following is one approach:
(or (ignore-errors
(cffi:foreign-funcall "OpenSSL_version_num" :long))
(ignore-errors
(cffi:foreign-funcall "SSLeay" :long)))
but it won't work on Corman Lisp because it doesn't
support cffi:foreign-funcall.
I would like to be fully portable. Is there a better way?
Best regards,
- Anton