From 7531dd18dc9ed1c5ab1c9ad95a01e60a963e6cde Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Wed, 26 Dec 2012 14:45:27 +0000 Subject: [PATCH] no need to check s->server as default_nid is never used for TLS 1.2 client authentication (backport from HEAD) --- ssl/t1_lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c index cb3673759f..65bd8c3f44 100644 --- a/ssl/t1_lib.c +++ b/ssl/t1_lib.c @@ -3519,7 +3519,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; -- 2.25.1