Enable use of CID in baremetal configuration and test script

This commit is contained in:
Hanno Becker 2019-04-30 14:18:25 +01:00
parent 2e0bedcc35
commit 4ce06047e1
2 changed files with 3 additions and 2 deletions

View file

@ -80,6 +80,7 @@
#define MBEDTLS_SSL_DTLS_ANTI_REPLAY
#define MBEDTLS_SSL_DTLS_HELLO_VERIFY
#define MBEDTLS_SSL_DTLS_BADMAC_LIMIT
#define MBEDTLS_SSL_CID
/* X.509 CRT parsing */
#define MBEDTLS_X509_USE_C

View file

@ -177,9 +177,9 @@ baremetal_ram_build() {
baremetal_ram_heap() {
: ${CLI:=./programs/ssl/ssl_client2}
: ${CLI_PARAMS:="dtls=1"}
: ${CLI_PARAMS:="dtls=1 cid=1 cid_val=beef"}
: ${SRV:=./programs/ssl/ssl_server2}
: ${SRV_PARAMS:="dtls=1 renegotiation=1 auth_mode=required"}
: ${SRV_PARAMS:="dtls=1 renegotiation=1 auth_mode=required cid=1 cid_val=dead"}
: ${VALGRIND:=valgrind}
: ${VALGRIND_MASSIF_PARAMS="--time-unit=B --threshold=0.01 --detailed-freq=1"}