Return a descriptive string about the running OpenSSL build.

Synopsis

Declared in <openssl/crypto.h>

char const*
OpenSSL_version(int type);

Return Value

Constant string describing the requested aspect, or "not available" for unknown type values.

Parameters

Name

Description

type

Selector such as OPENSSL_VERSION, OPENSSL_VERSION_STRING, OPENSSL_BUILT_ON, OPENSSL_PLATFORM, OPENSSL_DIR, OPENSSL_MODULES_DIR, or OPENSSL_CPU_INFO.

Created with MrDocs