fixed compilation error with no libssl support ("lorenzo martignoni"

<lorenzo.martignoni@technologist.com>)
This commit is contained in:
Michael Elkins 2000-12-31 22:17:54 +00:00
parent d03ce3f73d
commit 521b68eb63

12
imap.c
View File

@ -43,12 +43,6 @@ const char *Flags[] = {
"\\Draft" "\\Draft"
}; };
#if HAVE_LIBSSL
#define MAX_DEPTH 1
SSL_CTX *SSLContext = 0;
void void
free_message (message_t * msg) 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 */ /* this gets called when a certificate is to be verified */
static int static int
verify_cert (SSL * ssl) verify_cert (SSL * ssl)