summaryrefslogtreecommitdiff
path: root/hiredis_ssl.h
diff options
context:
space:
mode:
authorAlessio M <masariello@gmail.com>2020-09-08 20:07:59 +0100
committerAlessio M <masariello@gmail.com>2020-09-08 20:09:39 +0100
commit6693863f4c9370cb800fbc2ec45ed027c8fa5f02 (patch)
treea0480e491a383d37c40b3cc72bc548d1ce8f7149 /hiredis_ssl.h
parent2a5a57b90a57af5142221aa71f38c08f4a737376 (diff)
Add support for system CA certificate store on 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;
/**