mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-28 02:29:34 -05:00
Added no-op for SASL_VERSION_MAJOR < 2
This commit is contained in:
parent
9c4f89c6f7
commit
5ec4ef6e59
1 changed files with 4 additions and 0 deletions
|
|
@ -105,6 +105,10 @@ int ldap_int_sasl_init( void )
|
|||
return 0;
|
||||
}
|
||||
|
||||
#if SASL_VERSION_MAJOR < 2
|
||||
/* A no-op to make sure we link with Cyrus 1.5 */
|
||||
sasl_client_auth( NULL, NULL, NULL, 0, NULL, NULL );
|
||||
#endif
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue