Skip to content

Commit 70e0060

Browse files
Amine EL AKKANIAmine EL AKKANI
authored andcommitted
fix(omhiredis): Adding SSL variables into conditinal compilation
1 parent 17aff7f commit 70e0060

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

contrib/omhiredis/omhiredis.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,14 @@ typedef struct _instanceData {
9999
- $.redis!index
100100
Those 2 infos can either be provided through usage of imhiredis
101101
or set manually with Rainerscript */
102+
#ifdef HIREDIS_SSL
102103
sbool use_tls; /* Should we use TLS to connect to redis ? */
103104
char *ca_cert_bundle; /* CA bundle file */
104105
char *ca_cert_dir; /* Path of trusted certificates */
105106
char *client_cert; /* Client certificate */
106107
char *client_key; /* Client private key */
107108
char *sni; /* TLS Server Name Indication */
109+
#endif
108110

109111
} instanceData;
110112

0 commit comments

Comments
 (0)