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:44:37 +0000 (17:44 +0100)
commitec6788fb8ca0704b503c3a0030a142d9805895a6
treeade305e906671112f5ae91d3616b1afb104b04fc
parent4ccd6c5479b8e4ed0f8557846d383bed41517e2e
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)

(cherry picked from commit 524006dd1b80c1a86a20119ad988666a80d8d8f5)
ssl/statem/statem_srvr.c