Fix typos
diff --git a/ChangeLog b/ChangeLog
index f50b1ee..28a28df 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,7 +7,7 @@
Bugfix
* Fix in debug_print_msg()
- * Enforce alignment in the buffer allocator even if buffer is not alligned
+ * Enforce alignment in the buffer allocator even if buffer is not aligned
* Remove less-than-zero checks on unsigned numbers
* Stricter check on SSL ClientHello internal sizes compared to actual packet
size (found by TrustInSoft)
diff --git a/programs/ssl/ssl_server2.c b/programs/ssl/ssl_server2.c
index f68eade..2b6e426 100644
--- a/programs/ssl/ssl_server2.c
+++ b/programs/ssl/ssl_server2.c
@@ -136,7 +136,7 @@
int ticket_timeout; /* session ticket lifetime */
int cache_max; /* max number of session cache entries */
int cache_timeout; /* expiration delay of session cache entries */
- char *sni; /* string decribing sni information */
+ char *sni; /* string describing sni information */
const char *alpn_string; /* ALPN supported protocols */
} opt;
diff --git a/tests/compat.sh b/tests/compat.sh
index b6db519..724311c 100755
--- a/tests/compat.sh
+++ b/tests/compat.sh
@@ -1034,7 +1034,7 @@
;;
*)
- echo "Unkown peer: $PEER" >&2
+ echo "Unknown peer: $PEER" >&2
exit 1
;;
diff --git a/tests/ssl-opt.sh b/tests/ssl-opt.sh
index 94b6400..f4fbc01 100755
--- a/tests/ssl-opt.sh
+++ b/tests/ssl-opt.sh
@@ -64,7 +64,7 @@
exit 0
;;
*)
- echo "Unkown argument: '$1'"
+ echo "Unknown argument: '$1'"
print_usage
exit 1
;;
@@ -151,7 +151,7 @@
CLI_EXIT=$?
echo "EXIT: $CLI_EXIT" >> cli_out
- # psk is usefull when server only has bad certs
+ # psk is useful when server only has bad certs
if is_polar "$SRV_CMD"; then
"$P_CLI" request_page=SERVERQUIT tickets=0 auth_mode=none psk=abc123 \
crt_file=data_files/cli2.crt key_file=data_files/cli2.key \
@@ -162,7 +162,7 @@
wait $SRV_PID
# check if the client and server went at least to the handshake stage
- # (usefull to avoid tests with only negative assertions and non-zero
+ # (useful to avoid tests with only negative assertions and non-zero
# expected client exit to incorrectly succeed in case of catastrophic
# failure)
if is_polar "$SRV_CMD"; then
@@ -227,7 +227,7 @@
;;
*)
- echo "Unkown test: $1" >&2
+ echo "Unknown test: $1" >&2
exit 1
esac
shift 2
diff --git a/tests/suites/test_suite_x509parse.data b/tests/suites/test_suite_x509parse.data
index efee294..c0f8948 100644
--- a/tests/suites/test_suite_x509parse.data
+++ b/tests/suites/test_suite_x509parse.data
@@ -850,7 +850,7 @@
X509 crt keyUsage #1 (no extension, expected KU)
x509_check_key_usage:"data_files/server1.crt":KU_DIGITAL_SIGNATURE|KU_KEY_ENCIPHERMENT:0
-X509 crt keyUsage #2 (no extension, suprising KU)
+X509 crt keyUsage #2 (no extension, surprising KU)
x509_check_key_usage:"data_files/server1.crt":KU_KEY_CERT_SIGN:0
X509 crt keyUsage #3 (extension present, no KU)