}#ifOPENSSL_VERSION_NUMBER >= 0x10000000/* Disable compression */SSL_CTX_set_options(mosq->ssl_ctx, SSL_OP_NO_COMPRESSION);#endif#ifdefSSL_MODE_RELEASE_BUFFERS/* Use even less memory per SSL connection. */SSL_CTX_set_mode(mosq->ssl_ctx, SSL_MODE_RELEASE_BUFFERS);#endifif(mosq->tls_...
SSL_CTX_set_options (sctx, SSL_OP_NO_TLSv1_2);//SSL_CTX_set_options (sctx, SSL_OP_ALL);SSL_CTX_set_timeout (sctx,3000); SSL_CTX_set_verify (sctx, SSL_VERIFY_PEER, SSLX_CTX_verify_callback);SSL_CTX_set_default_verify_paths(sctx); SSL_CTX_set_cipher_list (sctx,"RC4-M...