gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r7609 - in libmicrohttpd/src/daemon/https: tls x509


From: gnunet
Subject: [GNUnet-SVN] r7609 - in libmicrohttpd/src/daemon/https: tls x509
Date: Sun, 24 Aug 2008 16:20:59 -0600 (MDT)

Author: grothoff
Date: 2008-08-24 16:20:59 -0600 (Sun, 24 Aug 2008)
New Revision: 7609

Modified:
   libmicrohttpd/src/daemon/https/tls/gnutls_priority.c
   libmicrohttpd/src/daemon/https/x509/x509.c
Log:
cleanup

Modified: libmicrohttpd/src/daemon/https/tls/gnutls_priority.c
===================================================================
--- libmicrohttpd/src/daemon/https/tls/gnutls_priority.c        2008-08-24 
22:11:38 UTC (rev 7608)
+++ libmicrohttpd/src/daemon/https/tls/gnutls_priority.c        2008-08-24 
22:20:59 UTC (rev 7609)
@@ -171,12 +171,10 @@
   int ret;
 
   ret = _set_priority (&session->internals.priorities.protocol, list);
-
   /* set the current version to the first in the chain.
    * This will be overridden later.
    */
-  if (list)
-    mhd_gtls_set_current_version (session, list[0]);
+  mhd_gtls_set_current_version (session, list[0]);
 
   return ret;
 }

Modified: libmicrohttpd/src/daemon/https/x509/x509.c
===================================================================
--- libmicrohttpd/src/daemon/https/x509/x509.c  2008-08-24 22:11:38 UTC (rev 
7608)
+++ libmicrohttpd/src/daemon/https/x509/x509.c  2008-08-24 22:20:59 UTC (rev 
7609)
@@ -1917,11 +1917,6 @@
   remlen -= lenlen;
 
   ava->value.size = asn1_get_length_der (ptr, remlen, &lenlen);
-  if (ava->value.size < 0)
-    {
-      gnutls_assert ();
-      return GNUTLS_E_ASN1_DER_ERROR;
-    }
   ava->value.data = ptr + lenlen;
 
   return 0;





reply via email to

[Prev in Thread] Current Thread [Next in Thread]