Skip to content

Commit

Permalink
docs: fix simple typo, migitate -> mitigate
Browse files Browse the repository at this point in the history
There is a small typo in src/sp_utils.c.

Should read `mitigate` rather than `migitate`.
  • Loading branch information
timgates42 committed Dec 19, 2020
1 parent 06804ce commit b40f8ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sp_utils.c
Expand Up @@ -127,7 +127,7 @@ static int construct_filename(char* filename,
}

/* We're using the sha256 sum of the rule's textual representation
* as filename, in order to only have one dump per rule, to migitate
* as filename, in order to only have one dump per rule, to mitigate
* DoS attacks. */
PHP_SHA256Init(&context);
PHP_SHA256Update(&context, (const unsigned char*)ZSTR_VAL(textual),
Expand Down

0 comments on commit b40f8ab

Please sign in to comment.