- OPENSSL_MAKE_VERSION
int OPENSSL_MAKE_VERSION(int major, int minor, int patch, int build)
Undocumented in source. Be warned that the author may not have intended to support it.
- OPENSSL_VERSION_AT_LEAST
bool OPENSSL_VERSION_AT_LEAST(int major, int minor, int patch, int build)
Undocumented in source. Be warned that the author may not have intended to support it.
- OPENSSL_VERSION_BEFORE
bool OPENSSL_VERSION_BEFORE(int major, int minor, int patch, int build)
Undocumented in source. Be warned that the author may not have intended to support it.
Module to deal with the library version being used
This library provide bindings for a wide range of OpenSSL versions, ranging from v0.9.x to v3.0.x. Some versions are not compatible with one another, either due to different ABI or different behavior, for example OpenSSL 1.0 requires initialization but later versions do not.
While things tend to mostly work or error out while linking when the version the bindings assume and the actually C library version are too different, we prefer to try detecting the currently used version, and allow users to specify the version explicitly, before falling back to the latest bindings