Return the OpenSSL library major version (OPENSSL_VERSION_MAJOR).

Synopsis

Declared in <openssl/crypto.h>

unsigned int
OPENSSL_version_major();

Return Value

Major version number from the build‐time OPENSSL_VERSION_* macros.

Created with MrDocs