]> git.sur5r.net Git - openldap/commitdiff
Fix: -ZZ was not requiring StartTLS to succeed.
authorHoward Chu <hyc@openldap.org>
Thu, 27 Mar 2003 17:30:43 +0000 (17:30 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 27 Mar 2003 17:30:43 +0000 (17:30 +0000)
clients/tools/common.c

index 864d9262d15548d34a8582b3ba386a1b7e194e8e..10fa47a834eef30b646b50746aa5d9528ecbc70d 100644 (file)
@@ -440,7 +440,7 @@ tool_args( int argc, char **argv )
                        break;
                case 'Z':
 #ifdef HAVE_TLS
-                       use_tls = 1;
+                       use_tls++;
 #else
                        fprintf( stderr, "%s: not compiled with TLS support\n", prog );
                        exit( EXIT_FAILURE );