mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-11 06:43:09 -05:00
ITS#5403 fix sasl_ssf retrieval on 64 bit Solaris
This commit is contained in:
parent
19d7e565f0
commit
61a70b4f96
1 changed files with 6 additions and 1 deletions
|
|
@ -568,7 +568,12 @@ do_syncrep1(
|
|||
op->o_tls_ssf = ldap_pvt_tls_get_strength( ssl );
|
||||
}
|
||||
#endif /* HAVE_TLS */
|
||||
ldap_get_option( si->si_ld, LDAP_OPT_X_SASL_SSF, &op->o_sasl_ssf );
|
||||
{
|
||||
ber_len_t ssf; /* ITS#5403, 3864 LDAP_OPT_X_SASL_SSF probably ought
|
||||
to use sasl_ssf_t but currently uses ber_len_t */
|
||||
ldap_get_option( si->si_ld, LDAP_OPT_X_SASL_SSF, &ssf );
|
||||
op->o_sasl_ssf = ssf;
|
||||
}
|
||||
op->o_ssf = ( op->o_sasl_ssf > op->o_tls_ssf )
|
||||
? op->o_sasl_ssf : op->o_tls_ssf;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue