Fix comment in ssl.h
authorMatt Caswell <matt@openssl.org>
Fri, 27 Apr 2018 10:24:01 +0000 (11:24 +0100)
committerMatt Caswell <matt@openssl.org>
Wed, 2 May 2018 22:39:23 +0000 (23:39 +0100)
The ciphers field in a session contains the stack of ciphers offered by
the client.

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6115)

ssl/ssl.h

index bd545f65be7a9eb6eaf59f83de2ffe58dae8b3fa..30a94716ae57d155ed9076fa8e4ca51b2a8bcd59 100644 (file)
--- a/ssl/ssl.h
+++ b/ssl/ssl.h
@@ -548,7 +548,7 @@ struct ssl_session_st {
     const SSL_CIPHER *cipher;
     unsigned long cipher_id;    /* when ASN.1 loaded, this needs to be used
                                  * to load the 'cipher' structure */
-    STACK_OF(SSL_CIPHER) *ciphers; /* shared ciphers? */
+    STACK_OF(SSL_CIPHER) *ciphers; /* ciphers offered by the client */
     CRYPTO_EX_DATA ex_data;     /* application specific data */
     /*
      * These are used to make removal of session-ids more efficient and to