Tweak a comment
authorMatt Caswell <matt@openssl.org>
Thu, 19 Jan 2017 12:12:35 +0000 (12:12 +0000)
committerMatt Caswell <matt@openssl.org>
Mon, 30 Jan 2017 10:18:21 +0000 (10:18 +0000)
psk_kex_mode stores the available modes - not the one which we selected.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2259)

ssl/ssl_locl.h

index 3aeac0cdd3eb4fd00681b55e690a953abaa4aa51..64019fe0aadc116ec5fd6137e22bd2eed5bb3c9d 100644 (file)
@@ -1114,7 +1114,7 @@ struct ssl_st {
         unsigned char *npn;
         size_t npn_len;
 
-        /* The selected PSK key exchange mode */
+        /* The available PSK key exchange modes */
         int psk_kex_mode;
     } ext;