[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 12/17] crypto: drop used conditional check
From: |
Thomas Huth |
Subject: |
[PULL 12/17] crypto: drop used conditional check |
Date: |
Wed, 2 Jun 2021 09:36:01 +0200 |
From: Daniel P. Berrangé <berrange@redhat.com>
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>
Message-Id: <20210514120415.1368922-8-berrange@redhat.com>
Signed-off-by: Thomas Huth <thuth@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.27.0
- [PULL 03/17] docs: fix references to docs/devel/build-system.rst, (continued)
- [PULL 03/17] docs: fix references to docs/devel/build-system.rst, Thomas Huth, 2021/06/02
- [PULL 04/17] docs: fix references to docs/specs/tpm.rst, Thomas Huth, 2021/06/02
- [PULL 01/17] docs: fix references to docs/devel/tracing.rst, Thomas Huth, 2021/06/02
- [PULL 05/17] docs: fix references to docs/devel/s390-dasd-ipl.rst, Thomas Huth, 2021/06/02
- [PULL 07/17] patchew: move quick build job from CentOS 7 to CentOS 8 container, Thomas Huth, 2021/06/02
- [PULL 09/17] crypto: drop back compatibility typedefs for nettle, Thomas Huth, 2021/06/02
- [PULL 06/17] block/ssh: Bump minimum libssh version to 0.8.7, Thomas Huth, 2021/06/02
- [PULL 10/17] crypto: bump min gcrypt to 1.8.0, dropping RHEL-7 support, Thomas Huth, 2021/06/02
- [PULL 08/17] crypto: bump min nettle to 3.4, dropping RHEL-7 support, Thomas Huth, 2021/06/02
- [PULL 11/17] crypto: bump min gnutls to 3.5.18, dropping RHEL-7 support, Thomas Huth, 2021/06/02
- [PULL 12/17] crypto: drop used conditional check,
Thomas Huth <=
- [PULL 14/17] tests/docker: drop CentOS 7 container, Thomas Huth, 2021/06/02
- [PULL 13/17] tests/vm: convert centos VM recipe to CentOS 8, Thomas Huth, 2021/06/02
- [PULL 15/17] configure: bump min required glib version to 2.56, Thomas Huth, 2021/06/02
- [PULL 16/17] configure: bump min required GCC to 7.5.0, Thomas Huth, 2021/06/02
- [PULL 17/17] configure: bump min required CLang to 6.0 / XCode 10.0, Thomas Huth, 2021/06/02
- Re: [PULL 00/17] doc updates and CentOS 7 removal, Peter Maydell, 2021/06/02