Added no-op call to sasl_client_auth to enforce SASL 1.5 linking

This commit is contained in:
Howard Chu 2002-08-28 08:13:43 +00:00
parent 2382de7ace
commit 611541d040

View File

@ -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;
}