summaryrefslogtreecommitdiffstats
path: root/support
diff options
context:
space:
mode:
authorJoe Orton <jorton@apache.org>2020-05-01 10:17:32 +0200
committerJoe Orton <jorton@apache.org>2020-05-01 10:17:32 +0200
commit23bd58fdc3ea900cb6b89d3f69c746a0fc8b3bde (patch)
tree65de6bd215fef0ba1607a99812f0218423dc871b /support
parentAdd gcc-10 job, drop gcc-9 config from allow_failures (seems stable again). (diff)
downloadapache2-23bd58fdc3ea900cb6b89d3f69c746a0fc8b3bde.tar.xz
apache2-23bd58fdc3ea900cb6b89d3f69c746a0fc8b3bde.zip
* 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
Diffstat (limited to 'support')
-rw-r--r--support/passwd_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/passwd_common.c b/support/passwd_common.c
index d45657cc26..62e48437ce 100644
--- a/support/passwd_common.c
+++ b/support/passwd_common.c
@@ -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