1 |
#include <stdio.h> |
#include <stdio.h> |
2 |
|
#include <stdlib.h> |
3 |
#include <string.h> |
#include <string.h> |
4 |
#include <unistd.h> |
#include <unistd.h> |
5 |
#include <errno.h> |
#include <errno.h> |
14 |
#include "filter.h" |
#include "filter.h" |
15 |
#include "buffer.h" |
#include "buffer.h" |
16 |
|
|
17 |
#if defined SSL_TLS || defined ENCRYPTED_PASSWORDS |
#if defined SSL_TLS || defined ENCRYPTED_PASSWORDS || defined CRAM_MD5 |
18 |
#include <openssl/crypto.h> |
#include <openssl/crypto.h> |
19 |
#endif |
#endif |
20 |
|
|
272 |
version(void) |
version(void) |
273 |
{ |
{ |
274 |
fprintf(stderr, "IMAPFilter %s" |
fprintf(stderr, "IMAPFilter %s" |
275 |
#if defined SSL_TLS || defined ENCRYPTED_PASSWORDS |
#if defined SSL_TLS || defined ENCRYPTED_PASSWORDS || defined CRAM_MD5 |
276 |
", OpenSSL 0x%8.8lx" |
", OpenSSL 0x%8.8lx" |
277 |
#endif |
#endif |
278 |
"\n", IMAPFILTER_VERSION |
"\n", IMAPFILTER_VERSION |
279 |
#if defined SSL_TLS || defined ENCRYPTED_PASSWORDS |
#if defined SSL_TLS || defined ENCRYPTED_PASSWORDS || defined CRAM_MD5 |
280 |
,SSLeay() |
,SSLeay() |
281 |
#endif |
#endif |
282 |
); |
); |