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).
This commit is contained in:
richm%stanfordalumni.org 2006-08-02 20:05:36 +00:00
Родитель 40776c85da
Коммит e845180674
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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);
}