summaryrefslogtreecommitdiff
path: root/hiredis.c
diff options
context:
space:
mode:
authorvalentino <valentino@redislabs.com>2018-12-20 16:26:24 +0200
committerMark Nunberg <mnunberg@haskalah.org>2019-02-20 09:10:10 -0500
commit58222c26f4889c3f83c453bd7ec87e387459fd0c (patch)
treecf07f0fefd55a3ea381f1d26567252c4899ada12 /hiredis.c
parent389e694abe6bb9ed6e5a44674d89a866c5231422 (diff)
Support SNI
Diffstat (limited to 'hiredis.c')
-rw-r--r--hiredis.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hiredis.c b/hiredis.c
index 7ba51f6..dd499b8 100644
--- a/hiredis.c
+++ b/hiredis.c
@@ -753,8 +753,8 @@ redisContext *redisConnectFd(int fd) {
}
int redisSecureConnection(redisContext *c, const char *caPath,
- const char *certPath, const char *keyPath) {
- return redisSslCreate(c, caPath, certPath, keyPath);
+ const char *certPath, const char *keyPath, const char *servername) {
+ return redisSslCreate(c, caPath, certPath, keyPath, servername);
}
/* Set read/write timeout on a blocking socket. */