Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tero Saarni
OpenLDAP
Commits
efba08cb
Commit
efba08cb
authored
Feb 17, 2009
by
Quanah Gibson-Mount
Browse files
ITS#5955 fix
warnings fix
parent
ae9c14c8
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
efba08cb
OpenLDAP 2.4 Change Log
OpenLDAP 2.4.15 Engineering
Fixed libldap GnuTLS compilation (ITS#5955)
Fixed slapd corrupt contextCSN (ITS#5947)
Fixed slapo-rwm objectClass preservation (ITS#5760)
...
...
libraries/libldap/tls2.c
View file @
efba08cb
...
...
@@ -143,7 +143,6 @@ void
ldap_pvt_tls_destroy
(
void
)
{
struct
ldapoptions
*
lo
=
LDAP_INT_GLOBAL_OPT
();
int
i
;
ldap_int_tls_destroy
(
lo
);
...
...
@@ -179,8 +178,6 @@ tls_init(tls_impl *impl )
int
ldap_pvt_tls_init
(
void
)
{
struct
ldapoptions
*
lo
=
LDAP_INT_GLOBAL_OPT
();
return
tls_init
(
tls_imp
);
}
...
...
@@ -190,7 +187,7 @@ ldap_pvt_tls_init( void )
static
int
ldap_int_tls_init_ctx
(
struct
ldapoptions
*
lo
,
int
is_server
)
{
int
i
,
rc
=
0
;
int
rc
=
0
;
tls_impl
*
ti
=
tls_imp
;
struct
ldaptls
lts
=
lo
->
ldo_tls_info
;
...
...
@@ -638,9 +635,11 @@ ldap_pvt_tls_get_option( LDAP *ld, int option, void *arg )
case
LDAP_OPT_X_TLS_REQUIRE_CERT
:
*
(
int
*
)
arg
=
lo
->
ldo_tls_require_cert
;
break
;
#ifdef HAVE_OPENSSL_CRL
case
LDAP_OPT_X_TLS_CRLCHECK
:
/* OpenSSL only */
*
(
int
*
)
arg
=
lo
->
ldo_tls_crlcheck
;
break
;
#endif
case
LDAP_OPT_X_TLS_CIPHER_SUITE
:
*
(
char
**
)
arg
=
lo
->
ldo_tls_ciphersuite
?
LDAP_STRDUP
(
lo
->
ldo_tls_ciphersuite
)
:
NULL
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment