diff --git a/imap.c b/imap.c index bb5bc55..d63e41d 100644 --- a/imap.c +++ b/imap.c @@ -43,12 +43,6 @@ const char *Flags[] = { "\\Draft" }; -#if HAVE_LIBSSL - -#define MAX_DEPTH 1 - -SSL_CTX *SSLContext = 0; - void free_message (message_t * msg) { @@ -64,6 +58,12 @@ free_message (message_t * msg) } } +#if HAVE_LIBSSL + +#define MAX_DEPTH 1 + +SSL_CTX *SSLContext = 0; + /* this gets called when a certificate is to be verified */ static int verify_cert (SSL * ssl)