diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-10-25 08:03:32 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-10-25 08:03:32 +0200 |
commit | d96257147860ef1e3b48023352b62c165ab8b89d (patch) | |
tree | e7cf535f240edcc406261e480fc5fd23838ee467 /src | |
parent | bb894c17fe1379c5ffd841ce4140ebbfbf0a0b2a (diff) | |
download | gnutls-d96257147860ef1e3b48023352b62c165ab8b89d.tar.gz |
gnutls-cli-debug: corrected TLS1.2 detection
Diffstat (limited to 'src')
-rw-r--r-- | src/cli-debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli-debug.c b/src/cli-debug.c index 359bb32f25..3dcb90225d 100644 --- a/src/cli-debug.c +++ b/src/cli-debug.c @@ -278,7 +278,7 @@ int main(int argc, char **argv) /* if neither of SSL3 and TLSv1 are supported, exit */ - if (i > 6 && tls1_2_ok == 0 && tls1_1_ok == 0 && tls1_ok == 0 + if (i > 10 && tls1_2_ok == 0 && tls1_1_ok == 0 && tls1_ok == 0 && ssl3_ok == 0) { fprintf(stderr, "\nServer does not support any of SSL 3.0, TLS 1.0 and TLS 1.1 and TLS 1.2\n"); |