summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hiredis_ssl.h2
-rw-r--r--ssl.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/hiredis_ssl.h b/hiredis_ssl.h
index cef8893..5f92cca 100644
--- a/hiredis_ssl.h
+++ b/hiredis_ssl.h
@@ -58,7 +58,7 @@ typedef enum {
REDIS_SSL_CTX_CLIENT_CERT_LOAD_FAILED, /* Failed to load client certificate */
REDIS_SSL_CTX_CLIENT_DEFAULT_CERT_FAILED, /* Failed to set client default certificate directory */
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_CERTSTORE_OPEN_FAILED, /* Failed to open system certificate store */
REDIS_SSL_CTX_OS_CERT_ADD_FAILED /* Failed to add CA certificates obtained from system to the SSL context */
} redisSSLContextError;
diff --git a/ssl.c b/ssl.c
index 7d7ff66..816a179 100644
--- a/ssl.c
+++ b/ssl.c
@@ -185,7 +185,7 @@ const char *redisSSLContextGetError(redisSSLContextError error)
case REDIS_SSL_CTX_PRIVATE_KEY_LOAD_FAILED:
return "Failed to load private key";
case REDIS_SSL_CTX_OS_CERTSTORE_OPEN_FAILED:
- return "Failed to open system certifcate store";
+ return "Failed to open system certificate store";
case REDIS_SSL_CTX_OS_CERT_ADD_FAILED:
return "Failed to add CA certificates obtained from system to the SSL context";
default: