Skip to content

Commit a5168ed

Browse files
author
Andras Fekete
committed
Remove forced TLS1v3 in cryptocb example
1 parent 0c031ea commit a5168ed

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

tls/client-tls-cryptocb.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,10 @@
4343

4444
#define DEFAULT_PORT 11111
4545

46+
/* Uncomment to force TLS v1.3
4647
#define USE_ECDHE_ECDSA
4748
#define USE_TLSV13
49+
*/
4850

4951
#ifdef USE_ECDHE_ECDSA
5052
#define CERT_FILE "../certs/client-ecc-cert.pem"

tls/server-tls-cryptocb.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,10 @@
4343

4444
#define DEFAULT_PORT 11111
4545

46+
/* Uncomment to force TLS v1.3
4647
#define USE_ECDHE_ECDSA
4748
#define USE_TLSV13
49+
*/
4850

4951
#ifdef USE_ECDHE_ECDSA
5052
#define CERT_FILE "../certs/server-ecc.pem"

0 commit comments

Comments
 (0)