27#if !APR_VERSION_AT_LEAST(2,0,0)
31#define MAX_PASSWD_LEN 256
38#define BCRYPT_DEFAULT_COST 5
42#define ERR_PWMISMATCH 3
43#define ERR_INTERRUPTED 4
49#define ERR_ALG_NOT_SUPP 10
51#if defined(WIN32) || defined(NETWARE)
52#define CRYPT_ALGO_SUPPORTED 0
53#define PLAIN_ALGO_SUPPORTED 1
55#define CRYPT_ALGO_SUPPORTED 1
56#define PLAIN_ALGO_SUPPORTED 0
59#if APR_VERSION_AT_LEAST(2,0,0) || \
60 (APU_MAJOR_VERSION == 1 && APU_MINOR_VERSION >= 5)
61#define BCRYPT_ALGO_SUPPORTED 1
63#define BCRYPT_ALGO_SUPPORTED 0
APR Miscellaneous library routines.
APR general purpose library routines.
APR Versioning Interface.
APR-util Versioning Interface.
apr_brigade_flush void * ctx
int mk_password_hash(passwd_ctx *ctx)