소스 검색

fixed compilation error with no libssl support ("lorenzo martignoni"
<lorenzo.martignoni@technologist.com>)

Michael Elkins 24 년 전
부모
커밋
521b68eb63
1개의 변경된 파일6개의 추가작업 그리고 6개의 파일을 삭제
  1. 6 6
      imap.c

+ 6 - 6
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)