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 */
|
||||
static void ShowVersions(void)
|
||||
{
|
||||
#ifndef NO_OLD_TLS
|
||||
#ifdef WOLFSSL_ALLOW_SSLV3
|
||||
printf("0:");
|
||||
#endif
|
||||
printf("1:2:3\n");
|
||||
#endif /* WOLFSSL_ALLOW_SSLV3 */
|
||||
printf("1:2:");
|
||||
#endif /* NO_OLD_TLS */
|
||||
printf("3\n");
|
||||
}
|
||||
|
||||
int ClientBenchmarkConnections(WOLFSSL_CTX* ctx, char* host, word16 port,
|
||||
|
|
Loading…
Reference in New Issue