Fix assorted spelling and wording issues

Signed-off-by: David Horstmann <david.horstmann@arm.com>
diff --git a/programs/ssl/CMakeLists.txt b/programs/ssl/CMakeLists.txt
index e8d2865..066940e 100644
--- a/programs/ssl/CMakeLists.txt
+++ b/programs/ssl/CMakeLists.txt
@@ -19,10 +19,10 @@
 )
 
 if(DEV_MODE)
-    # Inform CMake the the following file will be generated as part of the build
+    # Inform CMake that the following file will be generated as part of the build
     # process, so it doesn't complain that it doesn't exist yet. Starting from
     # CMake 3.20, this will no longer be necessary as CMake will automatically
-    # propagate this information accross the tree, for now it's only visible
+    # propagate this information across the tree, for now it's only visible
     # inside the same directory, so we need to propagate manually.
     set_source_files_properties(
         ${CMAKE_CURRENT_BINARY_DIR}/../test/query_config.c
diff --git a/programs/test/CMakeLists.txt b/programs/test/CMakeLists.txt
index 053b03c..94331b8 100644
--- a/programs/test/CMakeLists.txt
+++ b/programs/test/CMakeLists.txt
@@ -44,7 +44,7 @@
             ${CMAKE_CURRENT_SOURCE_DIR}/../../include/mbedtls/mbedtls_config.h
             ${CMAKE_CURRENT_SOURCE_DIR}/../../scripts/data_files/query_config.fmt
     )
-    # this file will also be used in anoter directory, so create a target, see
+    # this file will also be used in another directory, so create a target, see
     # https://gitlab.kitware.com/cmake/community/-/wikis/FAQ#how-can-i-add-a-dependency-to-a-source-file-which-is-generated-in-a-subdirectory
     add_custom_target(generate_query_config_c
         DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/query_config.c)