From 6f5bae8c6900e051da6e677756508707565ce56e Mon Sep 17 00:00:00 2001 From: Till Krüss Date: Fri, 6 Jan 2023 12:10:22 -0800 Subject: fix typo --- hiredis_ssl.h | 2 +- ssl.c | 2 +- 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: -- cgit v1.2.3