no need to check s->server as default_nid is never used for TLS 1.2 client authentication
This commit is contained in:
parent
3dbc46dfcd
commit
15a70fe510
@ -3482,7 +3482,7 @@ int tls1_check_chain(SSL *s, X509 *x, EVP_PKEY *pk, STACK_OF(X509) *chain,
|
||||
* have set preferred signature algorithms check we support
|
||||
* sha1.
|
||||
*/
|
||||
if (s->server && default_nid > 0 && c->conf_sigalgs)
|
||||
if (default_nid > 0 && c->conf_sigalgs)
|
||||
{
|
||||
size_t j;
|
||||
const unsigned char *p = c->conf_sigalgs;
|
||||
|
Loading…
Reference in New Issue
Block a user