[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sr #107513] [PATCH] lib/gnutls_x509.c: remove redundant check
From: |
Nicolas Kaiser |
Subject: |
[sr #107513] [PATCH] lib/gnutls_x509.c: remove redundant check |
Date: |
Thu, 11 Nov 2010 22:01:57 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.41 Safari/534.7 |
URL:
<http://savannah.gnu.org/support/?107513>
Summary: [PATCH] lib/gnutls_x509.c: remove redundant check
Project: GnuTLS
Submitted by: nikai
Submitted on: Thu 11 Nov 2010 10:01:56 PM GMT
Category: None
Priority: 5 - Normal
Severity: 2 - Minor
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Operating System: None
_______________________________________________________
Details:
Hi there!
I noticed a stray return value check, left over from
git commit f780425c751c6e31d26985e629d1abf3886168d3.
Best regards,
Nicolas Kaiser
---
lib/gnutls_x509.c | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
diff --git a/lib/gnutls_x509.c b/lib/gnutls_x509.c
index 802a81d..1ea19e3 100644
--- a/lib/gnutls_x509.c
+++ b/lib/gnutls_x509.c
@@ -160,14 +160,6 @@ _gnutls_x509_cert_verify_peers (gnutls_session_t
session,
return ret;
}
-
- if (ret < 0)
- {
- gnutls_assert ();
- CLEAR_CERTS;
- return ret;
- }
-
ret = check_bits (peer_certificate_list[i], cred->verify_bits);
if (ret < 0)
{
--
1.7.2.2
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Thu 11 Nov 2010 10:01:56 PM GMT Name:
0001-gnutls_x509.c-remove-redundant-check.patch Size: 794B By: nikai
patch
<http://savannah.gnu.org/support/download.php?file_id=21983>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/support/?107513>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [sr #107513] [PATCH] lib/gnutls_x509.c: remove redundant check,
Nicolas Kaiser <=