mirror of
https://github.com/rapid7/metasploit-payloads
synced 2025-01-20 20:37:27 +01:00
Use TLSv1 instead of SSLv3
This commit is contained in:
parent
454d014611
commit
5e3b292804
@ -281,7 +281,7 @@ static BOOL server_negotiate_ssl(Remote *remote)
|
||||
{
|
||||
fd = remote_get_fd(remote);
|
||||
|
||||
remote->meth = SSLv3_client_method();
|
||||
remote->meth = TLSv1_client_method();
|
||||
|
||||
remote->ctx = SSL_CTX_new(remote->meth);
|
||||
SSL_CTX_set_mode(remote->ctx, SSL_MODE_AUTO_RETRY);
|
||||
|
Loading…
Reference in New Issue
Block a user