* limitations under the License.
*/
+#ifndef _PASSWD_COMMON_H
+#define _PASSWD_COMMON_H
+
#include "apr.h"
#include "apr_lib.h"
#include "apr_strings.h"
#define BCRYPT_ALGO_SUPPORTED 0
#endif
+#if APR_CHARSET_EBCDIC
+#undef BCRYPT_ALGO_SUPPORTED
+#define BCRYPT_ALGO_SUPPORTED 0
+#endif
+
/*
* Must be initialized with apr_file_open_stderr() before using any of the
* below functions.
enum {
PW_PROMPT = 0,
PW_ARG,
- PW_STDIN
+ PW_STDIN,
+ PW_PROMPT_VERIFY,
} passwd_src;
};
* Make a password record from the given information.
*/
int mkhash(struct passwd_ctx *ctx);
+
+#endif /* _PASSWD_COMMON_H */
+