1SSLeay_version(3)                   OpenSSL                  SSLeay_version(3)
2
3
4

NAME

6       SSLeay_version - retrieve version/build information about OpenSSL
7       library
8

SYNOPSIS

10        #include <openssl/crypto.h>
11
12        const char *SSLeay_version(int type);
13

DESCRIPTION

15       SSLeay_version() returns a pointer to a constant string describing the
16       version of the OpenSSL library or giving information about the library
17       build.
18
19       The following type values are supported:
20
21       SSLEAY_VERSION
22           The version of the OpenSSL library including the release date.
23
24       SSLEAY_CFLAGS
25           The compiler flags set for the compilation process in the form
26           "compiler: ..."  if available or "compiler: information not
27           available" otherwise.
28
29       SSLEAY_BUILT_ON
30           The date of the build process in the form "built on: ..." if
31           available or "built on: date not available" otherwise.
32
33       SSLEAY_PLATFORM
34           The "Configure" target of the library build in the form "platform:
35           ..."  if available or "platform: information not available"
36           otherwise.
37
38       SSLEAY_DIR
39           The "OPENSSLDIR" setting of the library build in the form
40           "OPENSSLDIR: "...""  if available or "OPENSSLDIR: N/A" otherwise.
41

RETURN VALUES

43       The following return values can occur:
44
45       "not available"
46           An invalid value for type was given.
47
48       Pointer to constant string
49           Textual description.
50

SEE ALSO

52       crypto(3)
53

HISTORY

55       SSLEAY_DIR was added in OpenSSL 0.9.7.
56
57
58
591.0.2o                            2018-03-27                 SSLeay_version(3)
Impressum