summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2019-03-15 12:32:16 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2019-03-15 12:32:16 +0000
commit52e24f1db5c753a5f9153647b98fa13f4f671ab3 (patch)
treebcc62560acd6c8692ae527a5290c59316030cda4 /lib
parent23a78cba925f0e4cb19741ce6d70e270a3f950de (diff)
OpenSSL documents the macro OPENSSL_VERSION_TEXT since Sep 24, 2018;
so mention it here, too.
Diffstat (limited to 'lib')
-rw-r--r--lib/libcrypto/man/OPENSSL_VERSION_NUMBER.311
1 files changed, 7 insertions, 4 deletions
diff --git a/lib/libcrypto/man/OPENSSL_VERSION_NUMBER.3 b/lib/libcrypto/man/OPENSSL_VERSION_NUMBER.3
index 77bb6d45540..4f37962c9df 100644
--- a/lib/libcrypto/man/OPENSSL_VERSION_NUMBER.3
+++ b/lib/libcrypto/man/OPENSSL_VERSION_NUMBER.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: OPENSSL_VERSION_NUMBER.3,v 1.10 2018/03/27 17:35:50 schwarze Exp $
+.\" $OpenBSD: OPENSSL_VERSION_NUMBER.3,v 1.11 2019/03/15 12:32:15 schwarze Exp $
.\" full merge up to: OpenSSL 1f13ad31 Dec 25 17:50:39 2017 +0800
.\"
.\" This file is a derived work.
@@ -68,13 +68,14 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: March 27 2018 $
+.Dd $Mdocdate: March 15 2019 $
.Dt OPENSSL_VERSION_NUMBER 3
.Os
.Sh NAME
.Nm OPENSSL_VERSION_NUMBER ,
.Nm LIBRESSL_VERSION_NUMBER ,
.Nm LIBRESSL_VERSION_TEXT ,
+.Nm OPENSSL_VERSION_TEXT ,
.Nm OpenSSL_version_num ,
.Nm OpenSSL_version ,
.Nm SSLeay ,
@@ -85,6 +86,7 @@
.Fd #define OPENSSL_VERSION_NUMBER 0x020000000L
.Fd #define LIBRESSL_VERSION_NUMBER 0x02nnnn00fL
.Fd #define LIBRESSL_VERSION_TEXT \(dqLibreSSL 2.n.n\(dq
+.Fd #define OPENSSL_VERSION_TEXT LIBRESSL_VERSION_TEXT
.In openssl/crypto.h
.Ft unsigned long
.Fn OpenSSL_version_num void
@@ -152,8 +154,9 @@ returns different strings depending on
.Fa t :
.Bl -tag -width Ds
.It Dv OPENSSL_VERSION
-The text variant of the version number.
-For OpenSSL, it is followed by the release date, for example
+The text variant of the version number,
+.Dv OPENSSL_VERSION_TEXT .
+For OpenSSL, it includes the release date, for example
.Qq OpenSSL 0.9.5a 1 Apr 2000 .
For LibreSSL,
.Dv LIBRESSL_VERSION_TEXT