Commit 15a70fe5 authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

no need to check s->server as default_nid is never used for TLS 1.2 client authentication

parent 3dbc46df
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;