one issue about the test wbesit

Lei, Shaoting leist.fnst at cn.fujitsu.com
Mon Jan 22 00:22:39 PST 2018


Below website was broken for several days.
Is anybody to fix it?

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

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

Send Hostap mailing list submissions to
	hostap at 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 at lists.infradead.org

You can reach the person managing the list at
	hostap-owner at 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 at gmail.com>
To: hostap at lists.infradead.org
Cc: Isaac Boukris <iboukris at gmail.com>
Subject: [PATCH] TLS: Load chain certificates from client_cert file
Message-ID: <1516498604-20963-1-git-send-email-iboukris at gmail.com>

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

Signed-off-by: Isaac Boukris <iboukris at gmail.com>
---
 src/crypto/tls_openssl.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

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;
 	}
--
2.1.0




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

Subject: Digest Footer

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


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

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






More information about the Hostap mailing list