deimos.openssl.opensslv

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

Members

Aliases

OpenSSLVersion
alias OpenSSLVersion = OpenSSLVersionTemplate!"1.0.0t"
Undocumented in source.
OpenSSLVersion
alias OpenSSLVersion = OpenSSLVersionTemplate!"1.0.1u"
Undocumented in source.
OpenSSLVersion
alias OpenSSLVersion = OpenSSLVersionTemplate!"1.0.2t"
Undocumented in source.
OpenSSLVersion
alias OpenSSLVersion = OpenSSLVersionTemplate!"1.1.0l"
Undocumented in source.
OpenSSLVersion
alias OpenSSLVersion = OpenSSLVersionTemplate!"1.1.1m"
Undocumented in source.
OpenSSLVersion
alias OpenSSLVersion = OpenSSLVersionTemplate!"3.0.3"
Undocumented in source.
OpenSSLVersion
alias OpenSSLVersion = OpenSSLVersionTemplate!OpenSSLTextVersion
Undocumented in source.
OpenSSLVersion
alias OpenSSLVersion = OpenSSLVersionTemplate!"1.1.0h"
Undocumented in source.

Functions

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.

Manifest constants

OPENSSL_VERSION_BUILD
enum OPENSSL_VERSION_BUILD;
Undocumented in source.
OPENSSL_VERSION_MAJOR
enum OPENSSL_VERSION_MAJOR;
Undocumented in source.
OPENSSL_VERSION_MINOR
enum OPENSSL_VERSION_MINOR;
Undocumented in source.
OPENSSL_VERSION_NUMBER
enum OPENSSL_VERSION_NUMBER;
Undocumented in source.
OPENSSL_VERSION_PATCH
enum OPENSSL_VERSION_PATCH;
Undocumented in source.
SHLIB_VERSION_HISTORY
enum SHLIB_VERSION_HISTORY;
Undocumented in source.
SHLIB_VERSION_NUMBER
enum SHLIB_VERSION_NUMBER;
Undocumented in source.

Meta