Fix typos caught by check-names.sh
diff --git a/include/mbedtls/check_config.h b/include/mbedtls/check_config.h
index 030236a..86f11ed 100644
--- a/include/mbedtls/check_config.h
+++ b/include/mbedtls/check_config.h
@@ -678,7 +678,7 @@
 
 #if !defined(MBEDTLS_SSL_NO_SESSION_CACHE) &&  \
     defined(MBEDTLS_SSL_NO_SESSION_RESUMPTION)
-#error "MBEDTLS_NO_SESSION_CACHE needs to be defined with MBEDTLS_SSL_NO_SESSION_RESUMPTION"
+#error "MBEDTLS_SSL_NO_SESSION_CACHE needs to be defined with MBEDTLS_SSL_NO_SESSION_RESUMPTION"
 #endif
 
 #if defined(MBEDTLS_THREADING_PTHREAD)
diff --git a/include/mbedtls/config.h b/include/mbedtls/config.h
index 29ff97a..25e061e 100644
--- a/include/mbedtls/config.h
+++ b/include/mbedtls/config.h
@@ -1715,7 +1715,7 @@
  * one of !MBEDTLS_SSL_NO_SESSION_CACHE or MBEDTLS_SSL_SESSION_TICKETS.
  * Each one of these additionally requires an implementation of the cache
  * or tickets, examples of which are provided by MBEDTLS_SSL_CACHE_C
- * and MBEDTLS_SSL_TICKETS_C respectively.
+ * and MBEDTLS_SSL_TICKET_C respectively.
  *
  * Uncomment this macro to disable support for SSL session resumption.
  */