summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTill Krüss <tillkruss@users.noreply.github.com>2023-01-06 12:10:22 -0800
committerMichael Grunder <michael.grunder@gmail.com>2023-01-06 12:29:45 -0800
commit6f5bae8c6900e051da6e677756508707565ce56e (patch)
tree18395f62d826b6529fade74d3df7bcf395ec0a2b
parentacd09461d3c796751a0ea07ea69d81e7ce264320 (diff)
fix typo
-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: