openldap: initialize StartTLS option to it's default value
authorMarc Fournier <marc.fournier@camptocamp.com>
Wed, 20 Aug 2014 12:07:27 +0000 (14:07 +0200)
committerMarc Fournier <marc.fournier@camptocamp.com>
Fri, 29 Aug 2014 13:09:55 +0000 (15:09 +0200)
src/openldap.c

index 99b719a..0c5a0a5 100644 (file)
@@ -627,6 +627,7 @@ static int ldap_config_add (oconfig_item_t *ci) /* {{{ */
                return (status);
        }
 
+       st->starttls = 0;
        st->timeout = -1;
        st->verifyhost = 1;
        st->version = LDAP_VERSION3;