1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-12-24 17:41:01 +03:00

Add client-side extension parsing

This commit is contained in:
Manuel Pégourié-Gonnard
2015-09-16 16:01:00 +02:00
parent 55c7f99112
commit 0a1324aaa1
2 changed files with 41 additions and 0 deletions

View File

@@ -2511,6 +2511,7 @@ run_test "ECJPAKE: client not configured" \
-S "skip ecjpake kkpp extension" \
-S "ciphersuite mismatch: ecjpake not configured" \
-S "server hello, ecjpake kkpp extension" \
-C "found ecjpake_kkpp extension" \
-S "None of the common ciphersuites is usable"
run_test "ECJPAKE: server not configured" \
@@ -2524,6 +2525,7 @@ run_test "ECJPAKE: server not configured" \
-s "skip ecjpake kkpp extension" \
-s "ciphersuite mismatch: ecjpake not configured" \
-S "server hello, ecjpake kkpp extension" \
-C "found ecjpake_kkpp extension" \
-s "None of the common ciphersuites is usable"
run_test "ECJPAKE: working, TLS" \
@@ -2537,6 +2539,7 @@ run_test "ECJPAKE: working, TLS" \
-S "skip ecjpake kkpp extension" \
-S "ciphersuite mismatch: ecjpake not configured" \
-s "server hello, ecjpake kkpp extension" \
-c "found ecjpake_kkpp extension" \
-S "None of the common ciphersuites is usable"
# Tests for ciphersuites per version