diff options
author | Victor J. Orlikowski <orlikowski@apache.org> | 2002-07-10 06:01:13 +0000 |
---|---|---|
committer | Victor J. Orlikowski <orlikowski@apache.org> | 2002-07-10 06:01:13 +0000 |
commit | 7a3ff85ab1d20ab3590cc99d5452810f2ad0d571 (patch) | |
tree | 9c4ad61c42125bd4c79104e6910e1ecb4da2c289 /passwd | |
parent | 833e7cb40d0e9f6ffadae6fc4df6e874d5425af8 (diff) | |
download | apr-7a3ff85ab1d20ab3590cc99d5452810f2ad0d571.tar.gz |
Continue the Bill Rowe apr_size_t crusade.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63595 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'passwd')
-rw-r--r-- | passwd/apr_getpass.c | 2 | ||||
-rw-r--r-- | passwd/apr_md5.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/passwd/apr_getpass.c b/passwd/apr_getpass.c index 199f4fc26..cf84b7f1d 100644 --- a/passwd/apr_getpass.c +++ b/passwd/apr_getpass.c @@ -223,7 +223,7 @@ static char *getpass(const char *prompt) * smaller than our own. */ -APR_DECLARE(apr_status_t) apr_password_get(const char *prompt, char *pwbuf, size_t *bufsiz) +APR_DECLARE(apr_status_t) apr_password_get(const char *prompt, char *pwbuf, apr_size_t *bufsiz) { char *pw_got = getpass(prompt); if (!pw_got) diff --git a/passwd/apr_md5.c b/passwd/apr_md5.c index 58d1119ee..958400dbc 100644 --- a/passwd/apr_md5.c +++ b/passwd/apr_md5.c @@ -520,7 +520,7 @@ static void to64(char *s, unsigned long v, int n) } APR_DECLARE(apr_status_t) apr_md5_encode(const char *pw, const char *salt, - char *result, size_t nbytes) + char *result, apr_size_t nbytes) { /* * Minimum size is 8 bytes for salt, plus 1 for the trailing NUL, |