|
@@ -4341,7 +4341,8 @@ UnicodeString __fastcall GetFileMimeType(const UnicodeString & FileName)
|
|
|
TStrings * TlsCipherList()
|
|
|
{
|
|
|
std::unique_ptr<TStrings> Result(new TStringList());
|
|
|
- const SSL_METHOD * Method = DTLS_client_method();
|
|
|
+ // Exact method that neon uses. FTP uses TLS_method() (FTP needs server method too). But they have the same ciphers.
|
|
|
+ const SSL_METHOD * Method = TLS_client_method();
|
|
|
SSL_CTX * Ctx = SSL_CTX_new(Method);
|
|
|
SSL * Ssl = SSL_new(Ctx);
|
|
|
|