Process signature algorithms before deciding on certificate.
The supported signature algorithms extension needs to be processed before the certificate to use is decided and before a cipher is selected (as the set of shared signature algorithms supported may impact the choice). Reviewed-by: Matt Caswell <matt@openssl.org>
This commit is contained in:
@@ -1371,6 +1371,11 @@ int ssl3_get_client_hello(SSL *s)
|
||||
goto f_err;
|
||||
}
|
||||
ciphers=NULL;
|
||||
if (!tls1_set_server_sigalgs(s))
|
||||
{
|
||||
SSLerr(SSL_F_SSL3_GET_CLIENT_HELLO, SSL_R_CLIENTHELLO_TLSEXT);
|
||||
goto err;
|
||||
}
|
||||
/* Let cert callback update server certificates if required */
|
||||
retry_cert:
|
||||
if (s->cert->cert_cb)
|
||||
|
Reference in New Issue
Block a user