mirror of https://github.com/wolfSSL/wolfssl
update example client ShowVersions() to not show disabled old-tls versions
This commit is contained in:
parent
558d2566cc
commit
d17549f848
|
@ -129,10 +129,13 @@ static void ShowCiphers(void)
|
||||||
/* Shows which versions are valid */
|
/* Shows which versions are valid */
|
||||||
static void ShowVersions(void)
|
static void ShowVersions(void)
|
||||||
{
|
{
|
||||||
|
#ifndef NO_OLD_TLS
|
||||||
#ifdef WOLFSSL_ALLOW_SSLV3
|
#ifdef WOLFSSL_ALLOW_SSLV3
|
||||||
printf("0:");
|
printf("0:");
|
||||||
#endif
|
#endif /* WOLFSSL_ALLOW_SSLV3 */
|
||||||
printf("1:2:3\n");
|
printf("1:2:");
|
||||||
|
#endif /* NO_OLD_TLS */
|
||||||
|
printf("3\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
int ClientBenchmarkConnections(WOLFSSL_CTX* ctx, char* host, word16 port,
|
int ClientBenchmarkConnections(WOLFSSL_CTX* ctx, char* host, word16 port,
|
||||||
|
|
Loading…
Reference in New Issue