/* Copyright (c) 2013-2018 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "md5.h"
#include "str.h"
#include "var-expand.h"
#include "mail-user-hash.h"
{
unsigned int i, hash = 0;
/* fast path */
/* almost as fast path */
T_BEGIN {
} T_END;
} else T_BEGIN {
};
const char *error;
if (ret == 0)
} T_END;
for (i = 0; i < sizeof(hash); i++)
if (hash == 0) {
/* Make sure we don't return the hash as 0, since it's often
treated in a special way that won't work well. For example
trying to insert it into a hash table will assert-crash. */
hash = 1;
}
return ret > 0;
}