one issue about the test wbesit

Message ID 9A231BE5D02F5B4683229C96D4C5BF6601674926DE@G08CNEXMBPEKD01.g08.fujitsu.local
State New
Headers show
Series
  • one issue about the test wbesit
Related show

Commit Message

Lei, Shaoting Jan. 22, 2018, 8:22 a.m.
Below website was broken for several days.
Is anybody to fix it?

http://buildbot.w1.fi/hwsim/tests.php

-----邮件原件-----
发件人: Hostap [mailto:hostap-bounces@lists.infradead.org] 代表 hostap-request@lists.infradead.org
发送时间: 2018年1月22日 4:00
收件人: hostap@lists.infradead.org
主题: Hostap Digest, Vol 28, Issue 17

Send Hostap mailing list submissions to
	hostap@lists.infradead.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.infradead.org/mailman/listinfo/hostap
or, via email, send a message with subject or body 'help' to
	hostap-request@lists.infradead.org

You can reach the person managing the list at
	hostap-owner@lists.infradead.org

When replying, please edit your Subject line so it is more specific than "Re: Contents of Hostap digest..."


Today's Topics:

   1. [PATCH] TLS: Load chain certificates from client_cert file
      (Isaac Boukris)


----------------------------------------------------------------------

Message: 1
Date: Sun, 21 Jan 2018 01:36:44 +0000
From: Isaac Boukris <iboukris@gmail.com>

To: hostap@lists.infradead.org
Cc: Isaac Boukris <iboukris@gmail.com>
Subject: [PATCH] TLS: Load chain certificates from client_cert file
Message-ID: <1516498604-20963-1-git-send-email-iboukris@gmail.com>

This helps the server to build the chain to trusted CA.

Signed-off-by: Isaac Boukris <iboukris@gmail.com>

---
 src/crypto/tls_openssl.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

--
2.1.0




------------------------------

Subject: Digest Footer

_______________________________________________
Hostap mailing list
Hostap@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/hostap


------------------------------

End of Hostap Digest, Vol 28, Issue 17
**************************************

Patch

diff --git a/src/crypto/tls_openssl.c b/src/crypto/tls_openssl.c index ce73848..3d789bb 100644
--- a/src/crypto/tls_openssl.c
+++ b/src/crypto/tls_openssl.c
@@ -2653,10 +2653,9 @@  static int tls_connection_client_cert(struct tls_connection *conn,
 		return 0;
 	}
 
-	if (SSL_use_certificate_file(conn->ssl, client_cert,
-				     SSL_FILETYPE_PEM) == 1) {
+	if (SSL_use_certificate_chain_file(conn->ssl, client_cert) == 1) {
 		ERR_clear_error();
-		wpa_printf(MSG_DEBUG, "OpenSSL: SSL_use_certificate_file (PEM)"
+		wpa_printf(MSG_DEBUG, "OpenSSL: SSL_use_certificate_chain_file"
 			   " --> OK");
 		return 0;
 	}