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, 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 */