aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/https/tls/gnutls_sig.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon/https/tls/gnutls_sig.c')
-rw-r--r--src/daemon/https/tls/gnutls_sig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/https/tls/gnutls_sig.c b/src/daemon/https/tls/gnutls_sig.c
index 64d6c7d0..07ceb21b 100644
--- a/src/daemon/https/tls/gnutls_sig.c
+++ b/src/daemon/https/tls/gnutls_sig.c
@@ -281,7 +281,7 @@ _gnutls_verify_sig (gnutls_cert * cert,
281 int ret; 281 int ret;
282 gnutls_datum_t vdata; 282 gnutls_datum_t vdata;
283 283
284 if (cert->version == 0 || cert == NULL) 284 if ( (cert == NULL) || (cert->version == 0) )
285 { /* this is the only way to check 285 { /* this is the only way to check
286 * if it is initialized 286 * if it is initialized
287 */ 287 */