FreeBSD Bugzilla – Attachment 153974 Details for
Bug 198399
[PATCH] mail/courier: Fix build without SSLv2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
svn diff for mail/courier
patch-mail_courier-SSLv2 (text/plain), 1.21 KB, created by
Bernard Spil
on 2015-03-07 21:49:50 UTC
(
hide
)
Description:
svn diff for mail/courier
Filename:
MIME Type:
Creator:
Bernard Spil
Created:
2015-03-07 21:49:50 UTC
Size:
1.21 KB
patch
obsolete
>Index: mail/courier/files/patch-tcpd_libcouriertls.c >=================================================================== >--- mail/courier/files/patch-tcpd_libcouriertls.c (revision 0) >+++ mail/courier/files/patch-tcpd_libcouriertls.c (working copy) >@@ -0,0 +1,18 @@ >+--- tcpd/libcouriertls.c.orig 2009-11-21 21:07:32.000000000 +0100 >++++ tcpd/libcouriertls.c 2015-03-07 22:46:47.521076321 +0100 >+@@ -551,9 +551,13 @@ >+ if (!protocol || !*protocol) >+ protocol="SSL23"; >+ >+- ctx=SSL_CTX_new(protocol && strcmp(protocol, "SSL2") == 0 >+- ? SSLv2_method(): >++ ctx=SSL_CTX_new( >++#ifndef OPENSSL_NO_SSL2 >++ protocol && strcmp(protocol, "SSL2") == 0 ? SSLv2_method(): >++#endif >++#ifndef OPENSSL_NO_SSL3 >+ protocol && strcmp(protocol, "SSL3") == 0 ? SSLv3_method(): >++#endif >+ protocol && strcmp(protocol, "SSL23") == 0 ? SSLv23_method(): >+ TLSv1_method()); >+ > >Property changes on: mail/courier/files/patch-tcpd_libcouriertls.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 198399
: 153974 |
153975