* support/passwd_common.c (mkhash): Fix salt buffer size for SHA2

(caught by gcc 10).


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1877251 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Joe Orton
2020-05-01 08:17:32 +00:00
parent ce8e1b1e5e
commit 23bd58fdc3

View File

@ -179,7 +179,7 @@ err_too_long:
int mkhash(struct passwd_ctx *ctx)
{
char *pw;
char salt[16];
char salt[17];
apr_status_t rv;
int ret = 0;
#if CRYPT_ALGO_SUPPORTED