summaryrefslogtreecommitdiff
path: root/lib/errors.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/errors.h')
-rw-r--r--lib/errors.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/errors.h b/lib/errors.h
index 30ed744a49..86c6b02765 100644
--- a/lib/errors.h
+++ b/lib/errors.h
@@ -98,7 +98,7 @@ void _gnutls_mpi_log(const char *prefix, bigint_t a);
#define _gnutls_cert_log(str, cert) \
do { \
- if (unlikely(_gnutls_log_level >= 3 && cert != NULL)) { \
+ if (unlikely(_gnutls_log_level >= 3)) { \
gnutls_datum_t _cl_out; int _cl_ret; \
_cl_ret = gnutls_x509_crt_print(cert, GNUTLS_CRT_PRINT_ONELINE, &_cl_out); \
if (_cl_ret >= 0) { \