summaryrefslogtreecommitdiff
path: root/src/cli-debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli-debug.c')
-rw-r--r--src/cli-debug.c2
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");