mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-24 00:06:32 +01:00
Ignore ECJPAKE suite if not configured on server
This commit is contained in:
parent
c1b46d0242
commit
e511b4e7cb
2 changed files with 32 additions and 0 deletions
|
|
@ -2499,6 +2499,27 @@ run_test "PSK callback: wrong key" \
|
|||
-S "SSL - Unknown identity received" \
|
||||
-s "SSL - Verification of the message MAC failed"
|
||||
|
||||
# Tests for EC J-PAKE
|
||||
|
||||
run_test "ECJPAKE: client not configured" \
|
||||
"$P_SRV debug_level=3" \
|
||||
"$P_CLI debug_level=3" \
|
||||
0 \
|
||||
-C "add ciphersuite: c0ff" \
|
||||
-C "adding ecjpake_kkpp extension" \
|
||||
-S "ciphersuite mismatch: ecjpake not configured" \
|
||||
-S "None of the common ciphersuites is usable"
|
||||
|
||||
run_test "ECJPAKE: server not configured" \
|
||||
"$P_SRV debug_level=3" \
|
||||
"$P_CLI debug_level=3 ecjpake_pw=bla \
|
||||
force_ciphersuite=TLS-ECJPAKE-WITH-AES-128-CCM-8" \
|
||||
1 \
|
||||
-c "add ciphersuite: c0ff" \
|
||||
-c "adding ecjpake_kkpp extension" \
|
||||
-s "ciphersuite mismatch: ecjpake not configured" \
|
||||
-s "None of the common ciphersuites is usable"
|
||||
|
||||
# Tests for ciphersuites per version
|
||||
|
||||
run_test "Per-version suites: SSL3" \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue