return(s);
}
+#ifdef SLAPD_ACI_ENABLED
static int
aci_strbvcmp(
const char *s,
return(-1);
return(0);
}
+#endif
static int
aci_get_part(
int
glue_sub_init( )
{
- int i, j, k;
+ int i, j;
int cont = num_subs;
BackendDB *b1, *be;
BackendInfo *bi;
* if ndn is more that one rdn
* below dn_pat, continue
*/
- if ( dn_rdnlen( NULL, ndn ) != d - 1 ) {
+ if ( (size_t) dn_rdnlen( NULL, ndn ) != d - 1 ) {
break;
}
}
*/
LDAP_SLAPD_F (int) glue_back_initialize( BackendInfo *bi );
-
+LDAP_SLAPD_F (int) glue_sub_init( void );
/*
* ch_malloc.c
/* Work through the asserted value's words, to see if at least some
of the words are there, in the same order. */
len = 0;
- while ( nextchunk < avlen ) {
+ while ( (size_t) nextchunk < avlen ) {
len = strcspn( assertv + nextchunk, SLAPD_APPROX_DELIMITER);
if( len == 0 ) {
nextchunk++;
int
main( int argc, char *argv[] )
{
- int rc;
char *scheme = "{SSHA}";
char *newpw = NULL;
int i;
- int version = -1;
struct berval passwd;
struct berval *hash = NULL;