From: Matt Caswell <matt@openssl.org>
Date: Fri, 27 Apr 2018 10:24:01 +0000 (+0100)
Subject: Fix comment in ssl.h
X-Git-Tag: OpenSSL_1_0_2p~62
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d7d6d9531a0a9bb40a5f8b0256c04fa7a3e9b0c6;p=openssl

Fix comment in ssl.h

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)
---

diff --git a/ssl/ssl.h b/ssl/ssl.h
index bd545f65be..30a94716ae 100644
--- 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