git: 6078a4f3bea1 - main - ftp/vsftpd: fix build for FreeBSD-11.4 and SSL
Dirk Meyer
dinoex at FreeBSD.org
Wed Aug 11 07:36:57 UTC 2021
The branch main has been updated by dinoex:
URL: https://cgit.FreeBSD.org/ports/commit/?id=6078a4f3bea1ac21ed70217a56211d34fc183383
commit 6078a4f3bea1ac21ed70217a56211d34fc183383
Author: Dirk Meyer <dinoex at FreeBSD.org>
AuthorDate: 2021-08-11 07:36:39 +0000
Commit: Dirk Meyer <dinoex at 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)
+ {
More information about the dev-commits-ports-all
mailing list