mirror of
https://github.com/debauchee/barrier.git
synced 2025-07-16 16:15:38 +02:00
Dropped SSLv3 support #4567
This commit is contained in:
parent
decf7ca313
commit
fb6186304b
1 changed files with 4 additions and 0 deletions
|
@ -221,6 +221,10 @@ SecureSocket::initContext(bool server)
|
|||
// create new context from method
|
||||
SSL_METHOD* m = const_cast<SSL_METHOD*>(method);
|
||||
m_ssl->m_context = SSL_CTX_new(m);
|
||||
|
||||
// drop SSLv3 support
|
||||
SSL_CTX_set_options(m_ssl->m_context, SSL_OP_NO_SSLv3);
|
||||
|
||||
if (m_ssl->m_context == NULL) {
|
||||
showError();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue