summaryrefslogtreecommitdiffstats
path: root/streaming
diff options
context:
space:
mode:
authorthiagoftsm <49162938+thiagoftsm@users.noreply.github.com>2019-06-24 12:21:32 +0000
committerGitHub <noreply@github.com>2019-06-24 12:21:32 +0000
commitb27f0c65342cee0463eaf62d7e53112aaa1fdbb0 (patch)
treeecf13ddb7958ef629a90113e55fde2fc20dce7ef /streaming
parent0f1b26b69aaa9e58556d5715aeff8243954c7347 (diff)
SSL_better_name change name! (#6336)
Diffstat (limited to 'streaming')
-rw-r--r--streaming/rrdpush.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/streaming/rrdpush.c b/streaming/rrdpush.c
index 257e856261..f42056aa6e 100644
--- a/streaming/rrdpush.c
+++ b/streaming/rrdpush.c
@@ -463,10 +463,10 @@ static int rrdpush_sender_thread_connect_to_master(RRDHOST *host, int default_po
info("STREAM %s [send to %s]: initializing communication...", host->hostname, connected_to);
#ifdef ENABLE_HTTPS
- if( netdata_cli_ctx ){
+ if( netdata_client_ctx ){
host->ssl.flags = NETDATA_SSL_START;
if (!host->ssl.conn){
- host->ssl.conn = SSL_new(netdata_cli_ctx);
+ host->ssl.conn = SSL_new(netdata_client_ctx);
if(!host->ssl.conn){
error("Failed to allocate SSL structure.");
host->ssl.flags = NETDATA_SSL_NO_HANDSHAKE;