[openssl-commits] [openssl] OpenSSL_1_1_0-stable update

Matt Caswell matt at openssl.org
Fri Apr 27 09:12:49 UTC 2018


The branch OpenSSL_1_1_0-stable has been updated
       via  9737a38f34b49487223625a77860e957095cae13 (commit)
      from  63f7291c219ce84298ff98fadfcd70875c3b5318 (commit)


- Log -----------------------------------------------------------------
commit 9737a38f34b49487223625a77860e957095cae13
Author: Matt Caswell <matt at openssl.org>
Date:   Thu Apr 19 13:32:45 2018 +0100

    Update version docs
    
    Make it clear that you should not attempt to get the version before the
    first handshake is complete.
    
    Fixes #2893
    
    Reviewed-by: Richard Levitte <levitte at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/6014)

-----------------------------------------------------------------------

Summary of changes:
 doc/ssl/SSL_get_version.pod | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/doc/ssl/SSL_get_version.pod b/doc/ssl/SSL_get_version.pod
index 23b6497..3c2f825 100644
--- a/doc/ssl/SSL_get_version.pod
+++ b/doc/ssl/SSL_get_version.pod
@@ -15,7 +15,9 @@ SSL_get_version, SSL_is_dtls - get the protocol information of a connection
 =head1 DESCRIPTION
 
 SSL_get_version() returns the name of the protocol used for the
-connection B<ssl>.
+connection B<ssl>. It should only be called after the initial handshake has been
+completed. Prior to that the results returned from this function may be
+unreliable.
 
 SSL_is_dtls() returns one if the connection is using DTLS, zero if not.
 
@@ -43,7 +45,7 @@ The connection uses the TLSv1.2 protocol.
 
 =item unknown
 
-This indicates that no version has been set (no connection established).
+This indicates an unknown protocol version.
 
 =back
 


More information about the openssl-commits mailing list