Date: Wed, 11 Aug 2021 07:36:57 GMT From: Dirk Meyer <dinoex@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 6078a4f3bea1 - main - ftp/vsftpd: fix build for FreeBSD-11.4 and SSL Message-ID: <202108110736.17B7av7o033925@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by dinoex: URL: https://cgit.FreeBSD.org/ports/commit/?id=6078a4f3bea1ac21ed70217a56211d34fc183383 commit 6078a4f3bea1ac21ed70217a56211d34fc183383 Author: Dirk Meyer <dinoex@FreeBSD.org> AuthorDate: 2021-08-11 07:36:39 +0000 Commit: Dirk Meyer <dinoex@FreeBSD.org> CommitDate: 2021-08-11 07:36:39 +0000 ftp/vsftpd: fix build for FreeBSD-11.4 and SSL --- ftp/vsftpd/files/patch-ssl.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/ftp/vsftpd/files/patch-ssl.c b/ftp/vsftpd/files/patch-ssl.c new file mode 100644 index 000000000000..c5d1cb7be75f --- /dev/null +++ b/ftp/vsftpd/files/patch-ssl.c @@ -0,0 +1,15 @@ +--- ssl.c.orig 2021-08-02 06:24:35 UTC ++++ ssl.c +@@ -93,10 +93,12 @@ ssl_init(struct vsf_session* p_sess) + { + options |= SSL_OP_NO_TLSv1_2; + } ++#ifdef SSL_OP_NO_TLSv1_3 + if (!tunable_tlsv1_3) + { + options |= SSL_OP_NO_TLSv1_3; + } ++#endif + SSL_CTX_set_options(p_ctx, options); + if (tunable_rsa_cert_file) + {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108110736.17B7av7o033925>