mirror of
https://github.com/apache/httpd.git
synced 2025-08-03 16:33:59 +00:00
* 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:
@ -179,7 +179,7 @@ err_too_long:
|
|||||||
int mkhash(struct passwd_ctx *ctx)
|
int mkhash(struct passwd_ctx *ctx)
|
||||||
{
|
{
|
||||||
char *pw;
|
char *pw;
|
||||||
char salt[16];
|
char salt[17];
|
||||||
apr_status_t rv;
|
apr_status_t rv;
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
#if CRYPT_ALGO_SUPPORTED
|
#if CRYPT_ALGO_SUPPORTED
|
||||||
|
Reference in New Issue
Block a user