mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-18 11:05:48 +08:00
Added call to sasl_client_auth() to enforce linking with Cyrus 1.5
(The call is a no-op in Cyrus 1.5 and doesn't exist in 2.1.)
This commit is contained in:
parent
611541d040
commit
001b7b6927
@ -198,6 +198,8 @@ int slap_sasl_init( void )
|
||||
if( rc != SASL_OK ) {
|
||||
Debug( LDAP_DEBUG_ANY, "sasl_server_init failed\n",
|
||||
0, 0, 0 );
|
||||
/* A no-op used to make sure we linked with Cyrus 1.5 */
|
||||
sasl_client_auth(NULL, NULL, NULL, 0, NULL, NULL);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user