diff options
author | Glebs Ivanovskis <git-no-reply@zabbix.com> | 2016-03-15 17:55:44 +0300 |
---|---|---|
committer | Glebs Ivanovskis <git-no-reply@zabbix.com> | 2016-03-15 17:55:44 +0300 |
commit | 3de394c8a045815e72f33fb44566723626e70446 (patch) | |
tree | f1e65389511cee15e25d9ab023e4d8d017be7c24 /include/comms.h | |
parent | 27893b3dc799831ac412450da775ea067664403a (diff) |
...G...PS. [ZBX-4148] fixed definition of zbx_tls_context_t and compilation errors
Diffstat (limited to 'include/comms.h')
-rw-r--r-- | include/comms.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/comms.h b/include/comms.h index 44eb75b09c7..892610d0ad8 100644 --- a/include/comms.h +++ b/include/comms.h @@ -66,7 +66,7 @@ zbx_buf_type_t; #define ZBX_SOCKET_PEER_BUF_LEN 129 #if defined(HAVE_POLARSSL) || defined(HAVE_GNUTLS) || defined(HAVE_OPENSSL) -typedef struct zbx_tls_context *zbx_tls_context_t; +typedef struct zbx_tls_context zbx_tls_context_t; #endif typedef struct @@ -77,7 +77,7 @@ typedef struct char *buffer; char *next_line; #if defined(HAVE_POLARSSL) || defined(HAVE_GNUTLS) || defined(HAVE_OPENSSL) - zbx_tls_context_t tls_ctx; + zbx_tls_context_t *tls_ctx; #endif unsigned int connection_type; /* type of connection actually established: */ /* ZBX_TCP_SEC_UNENCRYPTED, ZBX_TCP_SEC_TLS_PSK or */ |