forked from pool/vsftpd
15 lines
393 B
Diff
15 lines
393 B
Diff
|
Index: vsftpd-3.0.5/ssl.c
|
||
|
===================================================================
|
||
|
--- vsftpd-3.0.5.orig/ssl.c
|
||
|
+++ vsftpd-3.0.5/ssl.c
|
||
|
@@ -95,7 +95,9 @@ ssl_init(struct vsf_session* p_sess)
|
||
|
}
|
||
|
if (!tunable_tlsv1_3)
|
||
|
{
|
||
|
+#ifdef SSL_OP_NO_TLSv1_3
|
||
|
options |= SSL_OP_NO_TLSv1_3;
|
||
|
+#endif
|
||
|
}
|
||
|
SSL_CTX_set_options(p_ctx, options);
|
||
|
if (tunable_rsa_cert_file)
|