mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
should compile also when #undef HAVE_TLS
This commit is contained in:
parent
a23466f64a
commit
7b9173d0bb
@ -529,6 +529,7 @@ ldap_back_getconn( Operation *op, SlapReply *rs, ldap_back_send_t sendok )
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef HAVE_TLS
|
||||
/* if start TLS failed but it was not mandatory,
|
||||
* check if the non-TLS connection was already
|
||||
* in cache; in case, destroy the newly created
|
||||
@ -553,6 +554,7 @@ ldap_back_getconn( Operation *op, SlapReply *rs, ldap_back_send_t sendok )
|
||||
goto done;
|
||||
}
|
||||
}
|
||||
#endif /* HAVE_TLS */
|
||||
|
||||
lc->lc_bound = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user