mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-09 23:30:54 +02:00
update example client ShowVersions() to not show disabled old-tls versions
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user