[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r7613 - libmicrohttpd/src/daemon/https/tls
From: |
gnunet |
Subject: |
[GNUnet-SVN] r7613 - libmicrohttpd/src/daemon/https/tls |
Date: |
Sun, 24 Aug 2008 16:27:19 -0600 (MDT) |
Author: grothoff
Date: 2008-08-24 16:27:18 -0600 (Sun, 24 Aug 2008)
New Revision: 7613
Modified:
libmicrohttpd/src/daemon/https/tls/gnutls_sig.c
Log:
cert maybe NULL, check in correct order
Modified: libmicrohttpd/src/daemon/https/tls/gnutls_sig.c
===================================================================
--- libmicrohttpd/src/daemon/https/tls/gnutls_sig.c 2008-08-24 22:26:27 UTC
(rev 7612)
+++ libmicrohttpd/src/daemon/https/tls/gnutls_sig.c 2008-08-24 22:27:18 UTC
(rev 7613)
@@ -281,7 +281,7 @@
int ret;
gnutls_datum_t vdata;
- if (cert->version == 0 || cert == NULL)
+ if ( (cert == NULL) || (cert->version == 0) )
{ /* this is the only way to check
* if it is initialized
*/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r7613 - libmicrohttpd/src/daemon/https/tls,
gnunet <=