Added no-op for SASL_VERSION_MAJOR < 2

This commit is contained in:
Howard Chu 2002-08-28 08:35:38 +00:00
parent 9c4f89c6f7
commit 5ec4ef6e59

View file

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