Blame 0001-relax-CA-certs-checks.patch
|
|
05f42e |
From: Roberto Campesato <render@metalabs.org>
|
|
|
05f42e |
diff --git a/crypto/tlscredsx509.c b/crypto/tlscredsx509.c
|
|
|
05f42e |
--- a/crypto/tlscredsx509.c
|
|
|
05f42e |
+++ b/crypto/tlscredsx509.c
|
|
|
05f42e |
@@ -502,14 +502,6 @@
|
|
|
05f42e |
goto cleanup;
|
|
|
05f42e |
}
|
|
|
05f42e |
|
|
|
05f42e |
- for (i = 0; i < ncacerts; i++) {
|
|
|
05f42e |
- if (qcrypto_tls_creds_check_cert(creds,
|
|
|
05f42e |
- cacerts[i], cacertFile,
|
|
|
05f42e |
- isServer, true, errp) < 0) {
|
|
|
05f42e |
- goto cleanup;
|
|
|
05f42e |
- }
|
|
|
05f42e |
- }
|
|
|
05f42e |
-
|
|
|
05f42e |
if (cert && ncacerts &&
|
|
|
05f42e |
qcrypto_tls_creds_check_cert_pair(cert, certFile, cacerts,
|
|
|
05f42e |
ncacerts, cacertFile,
|