summaryrefslogtreecommitdiff
path: root/secure/lib/libcrypto/man/OPENSSL_VERSION_NUMBER.3
diff options
context:
space:
mode:
Diffstat (limited to 'secure/lib/libcrypto/man/OPENSSL_VERSION_NUMBER.3')
-rw-r--r--secure/lib/libcrypto/man/OPENSSL_VERSION_NUMBER.366
1 files changed, 36 insertions, 30 deletions
diff --git a/secure/lib/libcrypto/man/OPENSSL_VERSION_NUMBER.3 b/secure/lib/libcrypto/man/OPENSSL_VERSION_NUMBER.3
index a6b7c7e0b247..15dd9bb41305 100644
--- a/secure/lib/libcrypto/man/OPENSSL_VERSION_NUMBER.3
+++ b/secure/lib/libcrypto/man/OPENSSL_VERSION_NUMBER.3
@@ -129,13 +129,13 @@
.\" ========================================================================
.\"
.IX Title "OPENSSL_VERSION_NUMBER 3"
-.TH OPENSSL_VERSION_NUMBER 3 "2018-08-14" "1.0.2p" "OpenSSL"
+.TH OPENSSL_VERSION_NUMBER 3 "2018-09-11" "1.1.1" "OpenSSL"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
.nh
.SH "NAME"
-OPENSSL_VERSION_NUMBER, SSLeay, SSLeay_version \- get OpenSSL version number
+OPENSSL_VERSION_NUMBER, OpenSSL_version, OpenSSL_version_num \- get OpenSSL version number
.SH "SYNOPSIS"
.IX Header "SYNOPSIS"
.Vb 2
@@ -143,8 +143,9 @@ OPENSSL_VERSION_NUMBER, SSLeay, SSLeay_version \- get OpenSSL version number
\& #define OPENSSL_VERSION_NUMBER 0xnnnnnnnnnL
\&
\& #include <openssl/crypto.h>
-\& long SSLeay(void);
-\& const char *SSLeay_version(int t);
+\&
+\& unsigned long OpenSSL_version_num();
+\& const char *OpenSSL_version(int t);
.Ve
.SH "DESCRIPTION"
.IX Header "DESCRIPTION"
@@ -184,44 +185,49 @@ Version 0.9.5a had an interim interpretation that is like the current one,
except the patch level got the highest bit set, to keep continuity. The
number was therefore 0x0090581f.
.PP
-For backward compatibility, \s-1SSLEAY_VERSION_NUMBER\s0 is also defined.
-.PP
-\&\fISSLeay()\fR returns this number. The return value can be compared to the
-macro to make sure that the correct version of the library has been
-loaded, especially when using DLLs on Windows systems.
+\&\fIOpenSSL_version_num()\fR returns the version number.
.PP
-\&\fISSLeay_version()\fR returns different strings depending on \fBt\fR:
-.IP "\s-1SSLEAY_VERSION\s0" 4
-.IX Item "SSLEAY_VERSION"
+\&\fIOpenSSL_version()\fR returns different strings depending on \fBt\fR:
+.IP "\s-1OPENSSL_VERSION\s0" 4
+.IX Item "OPENSSL_VERSION"
The text variant of the version number and the release date. For example,
-\&\*(L"OpenSSL 0.9.5a 1 Apr 2000\*(R".
-.IP "\s-1SSLEAY_CFLAGS\s0" 4
-.IX Item "SSLEAY_CFLAGS"
+\&\*(L"OpenSSL 1.0.1a 15 Oct 2015\*(R".
+.IP "\s-1OPENSSL_CFLAGS\s0" 4
+.IX Item "OPENSSL_CFLAGS"
The compiler flags set for the compilation process in the form
\&\*(L"compiler: ...\*(R" if available or \*(L"compiler: information not available\*(R"
otherwise.
-.IP "\s-1SSLEAY_BUILT_ON\s0" 4
-.IX Item "SSLEAY_BUILT_ON"
+.IP "\s-1OPENSSL_BUILT_ON\s0" 4
+.IX Item "OPENSSL_BUILT_ON"
The date of the build process in the form \*(L"built on: ...\*(R" if available
or \*(L"built on: date not available\*(R" otherwise.
-.IP "\s-1SSLEAY_PLATFORM\s0" 4
-.IX Item "SSLEAY_PLATFORM"
+.IP "\s-1OPENSSL_PLATFORM\s0" 4
+.IX Item "OPENSSL_PLATFORM"
The \*(L"Configure\*(R" target of the library build in the form \*(L"platform: ...\*(R"
if available or \*(L"platform: information not available\*(R" otherwise.
-.IP "\s-1SSLEAY_DIR\s0" 4
-.IX Item "SSLEAY_DIR"
+.IP "\s-1OPENSSL_DIR\s0" 4
+.IX Item "OPENSSL_DIR"
The \*(L"\s-1OPENSSLDIR\*(R"\s0 setting of the library build in the form \*(L"\s-1OPENSSLDIR: \*(R"..."\*(L"\s0
if available or \*(R"\s-1OPENSSLDIR: N/A"\s0 otherwise.
+.IP "\s-1OPENSSL_ENGINES_DIR\s0" 4
+.IX Item "OPENSSL_ENGINES_DIR"
+The \*(L"\s-1ENGINESDIR\*(R"\s0 setting of the library build in the form \*(L"\s-1ENGINESDIR: \*(R"..."\*(L"\s0
+if available or \*(R"\s-1ENGINESDIR: N/A"\s0 otherwise.
.PP
For an unknown \fBt\fR, the text \*(L"not available\*(R" is returned.
-.SH "RETURN VALUE"
-.IX Header "RETURN VALUE"
-The version number.
+.SH "RETURN VALUES"
+.IX Header "RETURN VALUES"
+\&\fIOpenSSL_version_num()\fR returns the version number.
+.PP
+\&\fIOpenSSL_version()\fR returns requested version strings.
.SH "SEE ALSO"
.IX Header "SEE ALSO"
-\&\fIcrypto\fR\|(3)
-.SH "HISTORY"
-.IX Header "HISTORY"
-\&\fISSLeay()\fR and \s-1SSLEAY_VERSION_NUMBER\s0 are available in all versions of SSLeay and OpenSSL.
-\&\s-1OPENSSL_VERSION_NUMBER\s0 is available in all versions of OpenSSL.
-\&\fB\s-1SSLEAY_DIR\s0\fR was added in OpenSSL 0.9.7.
+\&\fIcrypto\fR\|(7)
+.SH "COPYRIGHT"
+.IX Header "COPYRIGHT"
+Copyright 2000\-2018 The OpenSSL Project Authors. All Rights Reserved.
+.PP
+Licensed under the OpenSSL license (the \*(L"License\*(R"). You may not use
+this file except in compliance with the License. You can obtain a copy
+in the file \s-1LICENSE\s0 in the source distribution or at
+<https://www.openssl.org/source/license.html>.