[openssl-commits] [openssl] OpenSSL_1_0_2-stable update

Richard Levitte levitte at openssl.org
Mon Sep 24 10:09:41 UTC 2018

The branch OpenSSL_1_0_2-stable has been updated
       via  7a6d121e9d7bbd3a0db0a7b8020cfa224fe3aaa5 (commit)
      from  459b128a2d0382e299b8318979c58cc6ff46fc4a (commit)

- Log -----------------------------------------------------------------
commit 7a6d121e9d7bbd3a0db0a7b8020cfa224fe3aaa5
Author: Daniel Bevenius <daniel.bevenius at gmail.com>
Date:   Mon Sep 24 08:43:35 2018 +0200

    Document OPENSSL_VERSION_TEXT macro
    This commit documents the OPENSSL_VERSION_TEXT which is currently
    missing in the man page.
    Reviewed-by: Tim Hudson <tjh at openssl.org>
    Reviewed-by: Richard Levitte <levitte at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/7301)
    (cherry picked from commit 7c69495712e3dc9aa8db38271f0c3faeb2037165)


Summary of changes:
 doc/crypto/OPENSSL_VERSION_NUMBER.pod | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/doc/crypto/OPENSSL_VERSION_NUMBER.pod b/doc/crypto/OPENSSL_VERSION_NUMBER.pod
index f7ca7cb..02eabd7 100644
--- a/doc/crypto/OPENSSL_VERSION_NUMBER.pod
+++ b/doc/crypto/OPENSSL_VERSION_NUMBER.pod
@@ -2,12 +2,14 @@
 =head1 NAME
-OPENSSL_VERSION_NUMBER, SSLeay, SSLeay_version - get OpenSSL version number
+- get OpenSSL version number
 =head1 SYNOPSIS
  #include <openssl/opensslv.h>
  #define OPENSSL_VERSION_NUMBER 0xnnnnnnnnnL
+ #define OPENSSL_VERSION_TEXT "OpenSSL x.y.z xx XXX xxxx"
  #include <openssl/crypto.h>
  long SSLeay(void);
@@ -43,9 +45,12 @@ 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.
 For backward compatibility, SSLEAY_VERSION_NUMBER is also defined.
+OPENSSL_VERSION_TEXT is the text variant of the version number and the
+release date.  For example,
+"OpenSSL 1.0.1a 15 Oct 2015".
 SSLeay() 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.

More information about the openssl-commits mailing list