Commit e8451806 authored by richm%stanfordalumni.org's avatar richm%stanfordalumni.org
Browse files

Bug: 347033

Fix Description: Using the -Z flag sets the secure option, but using -ZZ (use starttls) does not.  The code in several places uses a test like if (secure || isZZ) to see if it has to perform some sort of ssl/tls related initialization.  The one place that was missed was before the call to PinArgRegistration() which was just if (secure).
parent 40776c85
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1005,7 +1005,7 @@ ldaptool_ldap_init( int second_host )
    }

#ifdef LDAP_TOOL_ARGPIN
    if (secure) {
    if (secure || isZZ) {
	if (PinArgRegistration( )) {
	    exit( LDAP_LOCAL_ERROR);
	}