Fix comment in ssl_locl.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:36:01 +0000 (23:36 +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/6114)

ssl/ssl_locl.h

index 85c754968cb5dea02a202b7c8413b7c29c3ff999..f5b03df5a387fa97458dfd77d7c7972e323f909e 100644 (file)
@@ -540,7 +540,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