SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
16
net/vsftpd/patches/patch-ssl_c
Normal file
16
net/vsftpd/patches/patch-ssl_c
Normal file
|
@ -0,0 +1,16 @@
|
|||
Index: ssl.c
|
||||
--- ssl.c.orig
|
||||
+++ 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)
|
||||
{
|
Loading…
Add table
Add a link
Reference in a new issue