talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 845d06230be8876ec0664d362125e1e1b6575507
parent 7f3dc2883d34fada8d01208c6588ace195eddfc5
Author: Ricardo Mones <ricardo@mones.org>
Date:   Tue, 21 Jan 2014 12:46:23 +0100

Fix bug #3964 "headers in wrong order -- file src/common/ssl.c"

Also cleans "ssl.c:36:1: warning: 'gcry_threads_pthread' defined but not used"

Diffstat:
Msrc/common/ssl.c | 10+++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/common/ssl.c b/src/common/ssl.c @@ -31,17 +31,17 @@ #include <errno.h> #include <pthread.h> -#if GNUTLS_VERSION_NUMBER <= 0x020b00 -#include <gcrypt.h> -GCRY_THREAD_OPTION_PTHREAD_IMPL; -#endif - #include "claws.h" #include "utils.h" #include "ssl.h" #include "ssl_certificate.h" #include "hooks.h" +#if GNUTLS_VERSION_NUMBER <= 0x020b00 +#include <gcrypt.h> +GCRY_THREAD_OPTION_PTHREAD_IMPL; +#endif + #ifdef HAVE_LIBETPAN #include <libetpan/mailstream_ssl.h> #endif