Lines Matching defs:errstr
71 static int generate_salt(char *s, size_t size, const char **errstr,
88 *errstr = apr_psprintf(pool, "Unable to generate random bytes: %pm",
127 ctx->errstr = "Unable to read from stdin.";
159 ctx->errstr = "password verification error";
169 ctx->errstr = apr_psprintf(ctx->pool,
177 * indicates success; on failure, ctx->errstr points to the error message.
207 ret = generate_salt(salt, 8, &ctx->errstr, ctx->pool);
212 ctx->errstr = apr_psprintf(ctx->pool,
225 ret = generate_salt(salt, 8, &ctx->errstr, ctx->pool);
231 ctx->errstr = apr_psprintf(ctx->pool, "crypt() failed: %pm", &rv);
253 ctx->errstr = apr_psprintf(ctx->pool, "Unable to generate random "
264 ctx->errstr = apr_psprintf(ctx->pool, "Unable to encode with "
323 ctx->errstr = "BCRYPT algorithm not supported on this platform";
331 ctx->errstr = "argument to -C must be a positive integer";