diff options
Diffstat (limited to 'mail/dma/files/patch-crypto.c')
-rw-r--r-- | mail/dma/files/patch-crypto.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/mail/dma/files/patch-crypto.c b/mail/dma/files/patch-crypto.c index b4fe877a54cd..2d0e229f5547 100644 --- a/mail/dma/files/patch-crypto.c +++ b/mail/dma/files/patch-crypto.c @@ -1,11 +1,14 @@ ---- ./crypto.c.orig 2012-01-03 13:54:05.000000000 +0000 -+++ ./crypto.c 2012-01-24 22:57:41.000000000 +0000 -@@ -80,7 +80,7 @@ +--- crypto.c.orig 2012-01-03 13:54:05.000000000 +0000 ++++ crypto.c 2012-03-06 23:50:42.000000000 +0000 +@@ -80,7 +80,11 @@ int smtp_init_crypto(int fd, int feature) { SSL_CTX *ctx = NULL; -- const SSL_METHOD *meth = NULL; ++#if (OPENSSL_VERSION_NUMBER >= 0x00909000L) + const SSL_METHOD *meth = NULL; ++#else + SSL_METHOD *meth = NULL; ++#endif X509 *cert; int error; |