mirror of
https://github.com/pocoproject/poco.git
synced 2026-01-16 09:12:11 +01:00
added Context::preferServerCiphers()
This commit is contained in:
@@ -349,6 +349,14 @@ void Context::disableProtocols(int protocols)
|
||||
}
|
||||
|
||||
|
||||
void Context::preferServerCiphers()
|
||||
{
|
||||
#if defined(SSL_OP_CIPHER_SERVER_PREFERENCE)
|
||||
SSL_CTX_set_options(_pSSLContext, SSL_OP_CIPHER_SERVER_PREFERENCE);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
void Context::createSSLContext()
|
||||
{
|
||||
if (SSLManager::isFIPSEnabled())
|
||||
|
||||
Reference in New Issue
Block a user