[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 07/12] crypto: drop used conditional check
From: |
Daniel P . Berrangé |
Subject: |
[PATCH v2 07/12] crypto: drop used conditional check |
Date: |
Fri, 14 May 2021 13:04:10 +0100 |
The condition being tested has never been set since the day the code was
first introduced.
Reviewed-by: Willian Rampazzo <willianr@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
---
crypto/tlscredsx509.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/crypto/tlscredsx509.c b/crypto/tlscredsx509.c
index bc503bab55..d9d6f4421e 100644
--- a/crypto/tlscredsx509.c
+++ b/crypto/tlscredsx509.c
@@ -354,11 +354,9 @@ qcrypto_tls_creds_check_cert_pair(gnutls_x509_crt_t cert,
reason = "The certificate has been revoked";
}
-#ifndef GNUTLS_1_0_COMPAT
if (status & GNUTLS_CERT_INSECURE_ALGORITHM) {
reason = "The certificate uses an insecure algorithm";
}
-#endif
error_setg(errp,
"Our own certificate %s failed validation against %s: %s",
--
2.31.1
- [PATCH v2 03/12] crypto: bump min nettle to 3.4, dropping RHEL-7 support, (continued)
- [PATCH v2 03/12] crypto: bump min nettle to 3.4, dropping RHEL-7 support, Daniel P . Berrangé, 2021/05/14
- [PATCH v2 04/12] crypto: drop back compatibility typedefs for nettle, Daniel P . Berrangé, 2021/05/14
- [PATCH v2 05/12] crypto: bump min gcrypt to 1.8.0, dropping RHEL-7 support, Daniel P . Berrangé, 2021/05/14
- [PATCH v2 06/12] crypto: bump min gnutls to 3.5.18, dropping RHEL-7 support, Daniel P . Berrangé, 2021/05/14
- [PATCH v2 07/12] crypto: drop used conditional check,
Daniel P . Berrangé <=
- [PATCH v2 08/12] tests/vm: convert centos VM recipe to CentOS 8, Daniel P . Berrangé, 2021/05/14
- [PATCH v2 09/12] tests/docker: drop CentOS 7 container, Daniel P . Berrangé, 2021/05/14
- [PATCH v2 10/12] configure: bump min required glib version to 2.56, Daniel P . Berrangé, 2021/05/14
- [PATCH v2 11/12] configure: bump min required GCC to 7.5.0, Daniel P . Berrangé, 2021/05/14