All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] tls: Fix CA certificate presence check
@ 2016-11-14 20:16 Andrew Zaborowski
  2016-11-14 20:16 ` [PATCH 2/2] tls: Don't fail if root CA present in received chain Andrew Zaborowski
  2016-11-14 20:47 ` [PATCH 1/2] tls: Fix CA certificate presence check Denis Kenzior
  0 siblings, 2 replies; 4+ messages in thread
From: Andrew Zaborowski @ 2016-11-14 20:16 UTC (permalink / raw)
  To: ell

[-- Attachment #1: Type: text/plain, Size: 483 bytes --]

---
 ell/tls.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ell/tls.c b/ell/tls.c
index 3879b50..388efa7 100644
--- a/ell/tls.c
+++ b/ell/tls.c
@@ -1474,7 +1474,7 @@ static void tls_handle_certificate(struct l_tls *tls,
 	 * against our CA if we have any.
 	 */
 
-	if (ca_cert) {
+	if (tls->ca_cert_path) {
 		ca_cert = tls_cert_load_file(tls->ca_cert_path);
 		if (!ca_cert) {
 			tls_disconnect(tls, TLS_ALERT_INTERNAL_ERROR,
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-11-14 21:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-14 20:16 [PATCH 1/2] tls: Fix CA certificate presence check Andrew Zaborowski
2016-11-14 20:16 ` [PATCH 2/2] tls: Don't fail if root CA present in received chain Andrew Zaborowski
2016-11-14 21:08   ` Denis Kenzior
2016-11-14 20:47 ` [PATCH 1/2] tls: Fix CA certificate presence check Denis Kenzior

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.