FreeBSD Bugzilla – Attachment 165621 Details for
Bug 203693
security/ftimes: Fix build with No-SSLv3
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Modified diff
ftimes-2016-01-15-1001.diff (text/plain), 2.28 KB, created by
Bernard Spil
on 2016-01-15 09:07:55 UTC
(
hide
)
Description:
Modified diff
Filename:
MIME Type:
Creator:
Bernard Spil
Created:
2016-01-15 09:07:55 UTC
Size:
2.28 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 406064) >+++ Makefile (working copy) >@@ -3,7 +3,7 @@ > > PORTNAME= ftimes > PORTVERSION= 3.11.0 >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= security sysutils > MASTER_SITES= SF > >@@ -53,7 +53,7 @@ > ${WRKSRC}/tools/zipmap/zipmap > > OPTIONS_DEFINE= DBM_TOOLS DIG_TOOLS FILE_HOOKS HASHDIG_TOOLS MAP_TOOLS SSL XMAGIC >-OPTIONS_DEFAULT= DBM_TOOLS DIG_TOOLS FILE_HOOKS HASHDIG_TOOLS MAP_TOOLS SSL XMAGIC >+OPTIONS_DEFAULT= DBM_TOOLS DIG_TOOLS FILE_HOOKS HASHDIG_TOOLS MAP_TOOLS XMAGIC > DBM_TOOLS_DESC= Install DBM tools > DIG_TOOLS_DESC= Install dig tools > FILE_HOOKS_DESC= Include file hooks support >Index: files/patch-src__ssl.c >=================================================================== >--- files/patch-src__ssl.c (revision 0) >+++ files/patch-src__ssl.c (working copy) >@@ -0,0 +1,46 @@ >+diff -urN ftimes-3.11.0.old/src/ssl.c ftimes-3.11.0.new/src/ssl.c >+--- src/ssl.c 2014-07-18 02:40:44.000000000 -0400 >++++ src/ssl.c 2016-01-13 17:18:29.073028573 -0500 >+@@ -251,7 +251,7 @@ >+ * >+ ********************************************************************* >+ */ >+- psProperties->psslCTX = SSL_CTX_new(SSLv3_client_method()); >++ psProperties->psslCTX = SSL_CTX_new(SSLv23_client_method()); >+ if (psProperties->psslCTX == NULL) >+ { >+ ERR_error_string(ERR_get_error(), acLocalError); >+@@ -262,6 +262,33 @@ >+ /*- >+ ********************************************************************* >+ * >++ * Disable protocol versions that are no longer safe to use. >++ * >++ ********************************************************************* >++ */ >++ SSL_CTX_set_options >++ ( >++ psProperties->psslCTX, >++ ( >++ 0 >++#ifndef OPENSSL_NO_SSL2 >++ | SSL_OP_NO_SSLv2 >++#endif >++#ifndef OPENSSL_NO_SSL3 >++ | SSL_OP_NO_SSLv3 >++#endif >++#ifdef SSL_OP_NO_TLSv1 >++ | SSL_OP_NO_TLSv1 >++#endif >++#ifdef SSL_OP_NO_TLSv1_1 >++ | SSL_OP_NO_TLSv1_1 >++#endif >++ ) >++ ); >++ >++ /*- >++ ********************************************************************* >++ * >+ * Setup SSL certificate verification. Load the bundled certificate >+ * authorities file. A common name (CN) and a positive chain length >+ * must be specified to activate PEER verification. If you want to
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 203693
:
161902
|
165516
|
165525
|
165530
| 165621