Delay setting the sig algs until after the cert_cb has been called
authorMatt Caswell <matt@openssl.org>
Tue, 18 Sep 2018 16:45:39 +0000 (17:45 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 21 Sep 2018 16:38:58 +0000 (17:38 +0100)
commit524006dd1b80c1a86a20119ad988666a80d8d8f5
tree39263bf9455e5081d6d4d800786bf5932269a84d
parentdda5396aaec315bdbcb080e42fb5cd0191f2ad72
Delay setting the sig algs until after the cert_cb has been called

Otherwise the sig algs are reset if SSL_set_SSL_CTX() gets called.

Fixes #7244

Reviewed-by: Ben Kaduk <kaduk@mit.edu>
(Merged from https://github.com/openssl/openssl/pull/7257)
ssl/statem/statem_srvr.c