summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/httpd/src/modules/ssl/ssl_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/httpd/src/modules/ssl/ssl_util.c b/usr.sbin/httpd/src/modules/ssl/ssl_util.c
index 7a87dfe38bb..e23e3703c9e 100644
--- a/usr.sbin/httpd/src/modules/ssl/ssl_util.c
+++ b/usr.sbin/httpd/src/modules/ssl/ssl_util.c
@@ -277,7 +277,7 @@ char *ssl_util_ptxtsub(
pool *p, const char *cpLine, const char *cpMatch, char *cpSubst)
{
#define MAX_PTXTSUB 100
- char *cppMatch[MAX_PTXTSUB];
+ char *cppMatch[MAX_PTXTSUB + 1];
char *cpResult;
int nResult;
int nLine;