Following the previous 2 commits also move ecpointformats out of session
authorMatt Caswell <matt@openssl.org>
Tue, 18 Jun 2019 10:45:26 +0000 (11:45 +0100)
committerMatt Caswell <matt@openssl.org>
Tue, 18 Jun 2019 12:36:25 +0000 (13:36 +0100)
commitcd0fb43cbe2774220f2702b8289faec590a72d01
tree5d8e94dabc78600b440a30ea29496284943b0113
parenteee2a6a718151336534d15a61d8d11209d4dfb1e
Following the previous 2 commits also move ecpointformats out of session

The previous 2 commits moved supported groups and ciphers out of the
session object to avoid race conditions. We now also move ecpointformats
for consistency. There does not seem to be a race condition with access
to this data since it is only ever set in a non-resumption handshake.
However, there is no reason for it to be in the session.

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/9162)
ssl/s3_lib.c
ssl/ssl_lib.c
ssl/ssl_locl.h
ssl/ssl_sess.c
ssl/statem/extensions.c
ssl/statem/extensions_clnt.c
ssl/statem/extensions_srvr.c
ssl/t1_lib.c