fix various issues
- rename file name from `early_data.txt` to `tls13_early_data.txt` - fix typo issue - remove redundant parameter Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
parent
154982719a
commit
53a332d970
3 changed files with 3 additions and 3 deletions
|
@ -1,3 +1,3 @@
|
||||||
EarlyData context: line 0 lf
|
EarlyData context: line 0 lf
|
||||||
EarlyData context: line 1 lf
|
EarlyData context: line 1 lf
|
||||||
EarlyData context: If it appear, that means early_data success
|
EarlyData context: If it appears, that means early_data received.
|
|
@ -501,7 +501,7 @@ requires_all_configs_enabled MBEDTLS_SSL_EARLY_DATA MBEDTLS_SSL_SESSION_TICKETS
|
||||||
requires_any_configs_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_PSK_ENABLED \
|
requires_any_configs_enabled MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_PSK_ENABLED \
|
||||||
MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_PSK_EPHEMERAL_ENABLED
|
MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_PSK_EPHEMERAL_ENABLED
|
||||||
run_test "TLS 1.3 G->m: EarlyData: feature is disabled, fail." \
|
run_test "TLS 1.3 G->m: EarlyData: feature is disabled, fail." \
|
||||||
"$P_SRV force_version=tls13 debug_level=4 max_early_data_size=-1 $(get_srv_psk_list)" \
|
"$P_SRV force_version=tls13 debug_level=4 max_early_data_size=-1" \
|
||||||
"$G_NEXT_CLI localhost --priority=NORMAL:-VERS-ALL:+VERS-TLS1.3:+GROUP-ALL -d 10 -r --earlydata $EARLY_DATA_INPUT" \
|
"$G_NEXT_CLI localhost --priority=NORMAL:-VERS-ALL:+VERS-TLS1.3:+GROUP-ALL -d 10 -r --earlydata $EARLY_DATA_INPUT" \
|
||||||
1 \
|
1 \
|
||||||
-s "ClientHello: early_data(42) extension exists." \
|
-s "ClientHello: early_data(42) extension exists." \
|
||||||
|
|
|
@ -72,7 +72,7 @@ guess_config_name() {
|
||||||
: ${MBEDTLS_TEST_OUTCOME_FILE=}
|
: ${MBEDTLS_TEST_OUTCOME_FILE=}
|
||||||
: ${MBEDTLS_TEST_CONFIGURATION:="$(guess_config_name)"}
|
: ${MBEDTLS_TEST_CONFIGURATION:="$(guess_config_name)"}
|
||||||
: ${MBEDTLS_TEST_PLATFORM:="$(uname -s | tr -c \\n0-9A-Za-z _)-$(uname -m | tr -c \\n0-9A-Za-z _)"}
|
: ${MBEDTLS_TEST_PLATFORM:="$(uname -s | tr -c \\n0-9A-Za-z _)-$(uname -m | tr -c \\n0-9A-Za-z _)"}
|
||||||
: ${EARLY_DATA_INPUT:=data_files/early_data.txt}
|
: ${EARLY_DATA_INPUT:=data_files/tls13_early_data.txt}
|
||||||
|
|
||||||
O_SRV="$OPENSSL s_server -www -cert data_files/server5.crt -key data_files/server5.key"
|
O_SRV="$OPENSSL s_server -www -cert data_files/server5.crt -key data_files/server5.key"
|
||||||
O_CLI="echo 'GET / HTTP/1.0' | $OPENSSL s_client"
|
O_CLI="echo 'GET / HTTP/1.0' | $OPENSSL s_client"
|
||||||
|
|
Loading…
Reference in a new issue