From: | "Samuli Suominen (ssuominen)" <ssuominen@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in mail-filter/mailfilter/files: 0.8.2-openssl-1.patch |
Date: | Sun, 01 Aug 2010 15:03:30 |
Message-Id: | 20100801142753.C975E2C3ED@corvid.gentoo.org |
1 | ssuominen 10/08/01 14:27:53 |
2 | |
3 | Added: 0.8.2-openssl-1.patch |
4 | Log: |
5 | Fix building with OpenSSL >= 1.0.0 wrt #330717 by Diego E. Pettenò. |
6 | (Portage version: 2.2_rc67/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 mail-filter/mailfilter/files/0.8.2-openssl-1.patch |
10 | |
11 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-filter/mailfilter/files/0.8.2-openssl-1.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-filter/mailfilter/files/0.8.2-openssl-1.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: 0.8.2-openssl-1.patch |
15 | =================================================================== |
16 | http://bugs.gentoo.org/330717 |
17 | |
18 | --- src/socket.cc |
19 | +++ src/socket.cc |
20 | @@ -64,7 +64,11 @@ |
21 | #ifdef USE_SSL |
22 | SSL* ssl; |
23 | BIO* sbio; |
24 | + #if OPENSSL_VERSION_NUMBER >= 0x10000000L |
25 | + const SSL_METHOD* ssl_meth; |
26 | + #else |
27 | SSL_METHOD* ssl_meth; |
28 | + #endif |
29 | SSL_CTX* ssl_ctx; |
30 | #endif |