mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-11-21 01:04:44 +08:00
Added no-op call to sasl_client_auth to enforce SASL 1.5 linking
This commit is contained in:
parent
2382de7ace
commit
611541d040
@ -73,6 +73,12 @@ int ldap_int_sasl_init( void )
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* This function is a no-op in Cyrus 1.5.x and does not exist
|
||||
* in Cyrus 2.x. This reference ensures that we can't pick up
|
||||
* the wrong version of a dynamic library.
|
||||
*/
|
||||
sasl_client_auth(NULL, NULL, NULL, 0, NULL, NULL);
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user