diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c index 45534684997472add935cd3897538583d940d3f2..eb6aa550de5f5f8471d07269aa6a837f734f2094 100644 --- a/ssl/t1_lib.c +++ b/ssl/t1_lib.c @@ -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;