summaryrefslogtreecommitdiff
path: root/src/cli_common.h
diff options
context:
space:
mode:
authorfilipe oliveira <filipecosta.90@gmail.com>2020-11-04 12:49:15 +0000
committerGitHub <noreply@github.com>2020-11-04 14:49:15 +0200
commit10b50069344120c1d46418838bfc2de38b65ca4a (patch)
treee79e2751abc7f6187882c00fe35963655ffaa609 /src/cli_common.h
parentf4ca3d8757d6abb3536610ddb7b9ab3ad39e81df (diff)
downloadredis-10b50069344120c1d46418838bfc2de38b65ca4a.tar.gz
Enable specifying TLS ciphers(suites) in redis-cli/redis-benchmark (#8005)
Enable specifying the preferred ciphers and/or ciphersuites for redis-cli/redis-benchmark. Co-authored-by: Yossi Gottlieb <yossigo@gmail.com>
Diffstat (limited to 'src/cli_common.h')
-rw-r--r--src/cli_common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cli_common.h b/src/cli_common.h
index 700a834ce..f3a91e9db 100644
--- a/src/cli_common.h
+++ b/src/cli_common.h
@@ -14,6 +14,10 @@ typedef struct cliSSLconfig {
char *cert;
/* Private key file to authenticate with, or NULL */
char *key;
+ /* Prefered cipher list, or NULL (applies only to <= TLSv1.2) */
+ char* ciphers;
+ /* Prefered ciphersuites list, or NULL (applies only to TLSv1.3) */
+ char* ciphersuites;
} cliSSLconfig;
/* Wrapper around redisSecureConnection to avoid hiredis_ssl dependencies if