mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Added no-op sasl_client_auth if SASL_VERSION_MAJOR < 2.
This commit is contained in:
parent
341ba76238
commit
9c4f89c6f7
@ -1140,6 +1140,10 @@ int slap_sasl_init( void )
|
|||||||
Debug( LDAP_DEBUG_ANY, "sasl_server_init failed\n",
|
Debug( LDAP_DEBUG_ANY, "sasl_server_init failed\n",
|
||||||
0, 0, 0 );
|
0, 0, 0 );
|
||||||
#endif
|
#endif
|
||||||
|
#if SASL_VERSION_MAJOR < 2
|
||||||
|
/* A no-op used to make sure we linked with Cyrus 1.5 */
|
||||||
|
sasl_client_auth( NULL, NULL, NULL, 0, NULL, NULL );
|
||||||
|
#endif
|
||||||
|
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user