mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-03 20:54:41 +02:00
Fix to set groups for client benchmark test.
This commit is contained in:
@@ -580,7 +580,7 @@ static int ClientBenchmarkThroughput(WOLFSSL_CTX* ctx, char* host, word16 port,
|
|||||||
(void)onlyKeyShare;
|
(void)onlyKeyShare;
|
||||||
#if defined(WOLFSSL_TLS13) && defined(HAVE_SUPPORTED_CURVES)
|
#if defined(WOLFSSL_TLS13) && defined(HAVE_SUPPORTED_CURVES)
|
||||||
if (version >= 4) {
|
if (version >= 4) {
|
||||||
SetKeyShare(ssl, onlyKeyShare, useX25519, useX448, 0);
|
SetKeyShare(ssl, onlyKeyShare, useX25519, useX448, 1);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user