render / rpms / qemu

Forked from rpms/qemu 9 months ago
Clone
Blob Blame History Raw
From: Roberto Campesato <render@metalabs.org>
diff --git a/crypto/tlscredsx509.c b/crypto/tlscredsx509.c
--- a/crypto/tlscredsx509.c
+++ b/crypto/tlscredsx509.c
@@ -502,14 +502,6 @@
         goto cleanup;
     }

-    for (i = 0; i < ncacerts; i++) {
-        if (qcrypto_tls_creds_check_cert(creds,
-                                         cacerts[i], cacertFile,
-                                         isServer, true, errp) < 0) {
-            goto cleanup;
-        }
-    }
-
     if (cert && ncacerts &&
         qcrypto_tls_creds_check_cert_pair(cert, certFile, cacerts,
                                           ncacerts, cacertFile,