-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Undefined foreign symbol: "SSL_CTX_set_default_verify_dir" #33
Comments
@deadtrickster check this out |
How to fix this particular issue, and how to deal with OpenSSL versioning? In general I think maybe separate ASDF system could be created for each new version of OpenSSL API. As for this particular issue, probably we could remove this function, unless somebody uses it. @deadtrickster do you use this function? |
I've put the ffi declarations for functions introduced in OpenSSL 1.1.0 into a separate package: (ql:quickload #:openssl-1.1.0)
(openssl-1.1.0:ssl-ctx-set-default-verify-dir ...)
;; or, using another package nickname
(ossl110:ssl-ctx-set-default-verify-dir ...) |
As we can see in this report - https://common-lisp.net/project/cl-test-grid/ql/quicklisp-2015-12-18-diff2.html - the error Undefined foreign symbol: "SSL_CTX_set_default_verify_dir" happens when cl+ssl is loaded.
This function SSL_CTX_set_default_verify_dir is newly introduced in OpenSSL and is absent in old versions. Check here:
OpenSSL 1.0.2 (the latest stable release) - absent:
https://www.openssl.org/docs/man1.0.2/ssl/SSL_CTX_load_verify_locations.html
OpenSSL master - present.
https://www.openssl.org/docs/manmaster/ssl/SSL_CTX_load_verify_locations.html
The system is linux, debian 7.9.
The text was updated successfully, but these errors were encountered: