Skip to content
Snippets Groups Projects
Commit 5ec4ef6e authored by Howard Chu's avatar Howard Chu
Browse files

Added no-op for SASL_VERSION_MAJOR < 2

parent 9c4f89c6
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment