summaryrefslogtreecommitdiff
path: root/hiredis_ssl.h
diff options
context:
space:
mode:
authorMichael Grunder <michael.grunder@gmail.com>2020-10-18 14:55:42 -0700
committerGitHub <noreply@github.com>2020-10-18 14:55:42 -0700
commit297f6551da11d4a22fefe4d385d42edf27a6cd73 (patch)
treead7e7e319fef7672f5e49cb7070e036e712ad1ee /hiredis_ssl.h
parentf44945a0af08b388854f0d7d2e1381e26c695ef7 (diff)
parente7dda978599a715175b13db59dda8be3affa3165 (diff)
Merge pull request #889 from redis/wincert
Add support for Wincert CA store in Windows
Diffstat (limited to 'hiredis_ssl.h')
-rw-r--r--hiredis_ssl.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/hiredis_ssl.h b/hiredis_ssl.h
index 604efe0..e3d3e1c 100644
--- a/hiredis_ssl.h
+++ b/hiredis_ssl.h
@@ -56,7 +56,9 @@ typedef enum {
REDIS_SSL_CTX_CERT_KEY_REQUIRED, /* Client cert and key must both be specified or skipped */
REDIS_SSL_CTX_CA_CERT_LOAD_FAILED, /* Failed to load CA Certificate or CA Path */
REDIS_SSL_CTX_CLIENT_CERT_LOAD_FAILED, /* Failed to load client certificate */
- REDIS_SSL_CTX_PRIVATE_KEY_LOAD_FAILED /* Failed to load private key */
+ REDIS_SSL_CTX_PRIVATE_KEY_LOAD_FAILED, /* Failed to load private key */
+ REDIS_SSL_CTX_OS_CERTSTORE_OPEN_FAILED, /* Failed to open system certifcate store */
+ REDIS_SSL_CTX_OS_CERT_ADD_FAILED /* Failed to add CA certificates obtained from system to the SSL context */
} redisSSLContextError;
/**