Fix to set groups for client benchmark test.

This commit is contained in:
David Garske
2021-06-09 09:26:40 -07:00
parent 2e4e65f518
commit 5e6b8e50c8

View File

@@ -580,7 +580,7 @@ static int ClientBenchmarkThroughput(WOLFSSL_CTX* ctx, char* host, word16 port,
(void)onlyKeyShare;
#if defined(WOLFSSL_TLS13) && defined(HAVE_SUPPORTED_CURVES)
if (version >= 4) {
SetKeyShare(ssl, onlyKeyShare, useX25519, useX448, 0);
SetKeyShare(ssl, onlyKeyShare, useX25519, useX448, 1);
}
#endif