diff libfdcore/config.c @ 1008:d3d2a32320c4

Fix a compilation warning and protect CHECK_GNUTLS_DO macro
author Sebastien Decugis <sdecugis@freediameter.net>
date Fri, 22 Mar 2013 14:48:28 +0100
parents 6ce8322f3b78
children 6f987640a4b2
line wrap: on
line diff
--- a/libfdcore/config.c	Fri Mar 22 01:00:52 2013 +0100
+++ b/libfdcore/config.c	Fri Mar 22 14:48:28 2013 +0100
@@ -477,7 +477,7 @@
 			GNUTLS_TRACE( gnutls_certificate_get_x509_crls (fd_g_config->cnf_sec_data.credentials, &CRL_list, (unsigned int *) &CRL_list_length) );
 			CHECK_GNUTLS_DO( gnutls_x509_crt_list_verify(certs, cert_max, CA_list, CA_list_length, CRL_list, CRL_list_length, 0, &verify),
 				{
-					TRACE_ERROR(INFO, "Failed to verify the local certificate '%s' against local credentials. Please check your certificate is valid.", fd_g_config->cnf_sec_data.cert_file);
+					TRACE_ERROR("Failed to verify the local certificate '%s' against local credentials. Please check your certificate is valid.", fd_g_config->cnf_sec_data.cert_file);
 					return EINVAL;
 				} );
 				
"Welcome to our mercurial repository"