helpGnuTLS - Support: sr #107513, [PATCH] lib/gnutls_x509.c: remove...

 
 

sr #107513: [PATCH] lib/gnutls_x509.c: remove redundant check

Submitter:  Nicolas Kaiser <nikai>
Submitted:  Thu 11 Nov 2010 10:01:56 PM UTC
 
Category:  None Priority:  5 - Normal
Severity:  2 - Minor Status:  Done
Privacy:  Public Assigned to:  nmav
Open/Closed:  Closed Operating System:  None
* Mandatory Fields

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
       

 

Thu 11 Nov 2010 10:58:08 PM UTC, comment #1: 

I've just commited a fix. Thanks!

Nikos Mavrogiannopoulos <nmav>
Project Administrator
Thu 11 Nov 2010 10:01:56 PM UTC, original submission:  

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

Nicolas Kaiser <nikai>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jas (Updated the item)
  • -email is unavailable- added by nmav (Posted a comment)
  • -email is unavailable- added by nikai (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

     

     

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-11-19 jas Open/ClosedOpen Closed
    2010-11-11 nmav StatusNone Done
        Assigned toNone nmav
    2010-11-11 nikai Attached File- Added 0001-gnutls_x509.c-remove-redundant-check.patch, #21983

    Back to the top


    Powered by Savane 3.9