Fix typo

Signed-off-by: Thomas Daubney <thomas.daubney@arm.com>
diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh
index 65b3683..a68f598 100755
--- a/tests/scripts/all.sh
+++ b/tests/scripts/all.sh
@@ -1905,7 +1905,7 @@
     # Not running ssl-opt.sh because most tests require a non-NULL ciphersuite.
 }
 
-component_test_tls1_2_deafult_cbc_legacy_cipher_only () {
+component_test_tls1_2_default_cbc_legacy_cipher_only () {
     msg "build: default with only CBC-legacy cipher use psa"
 
     scripts/config.py set MBEDTLS_USE_PSA_CRYPTO