diff options
| author | Tim Gates | 2020-12-20 01:11:19 +1100 |
|---|---|---|
| committer | GitHub | 2020-12-19 14:11:19 +0000 |
| commit | a9e240ef0655175f930810cf78ac7df593a6dde6 (patch) | |
| tree | 1e4cabc69d45589416f78e8b10dabce32d1a056c | |
| parent | 06804cec06e500b7113d1ed41456ef4d9e58c1f0 (diff) | |
docs: fix simple typo, migitate -> mitigate
There is a small typo in src/sp_utils.c.
Should read `mitigate` rather than `migitate`.
| -rw-r--r-- | src/sp_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp_utils.c b/src/sp_utils.c index 4c78ce5..cb63037 100644 --- a/src/sp_utils.c +++ b/src/sp_utils.c | |||
| @@ -127,7 +127,7 @@ static int construct_filename(char* filename, | |||
| 127 | } | 127 | } |
| 128 | 128 | ||
| 129 | /* We're using the sha256 sum of the rule's textual representation | 129 | /* We're using the sha256 sum of the rule's textual representation |
| 130 | * as filename, in order to only have one dump per rule, to migitate | 130 | * as filename, in order to only have one dump per rule, to mitigate |
| 131 | * DoS attacks. */ | 131 | * DoS attacks. */ |
| 132 | PHP_SHA256Init(&context); | 132 | PHP_SHA256Init(&context); |
| 133 | PHP_SHA256Update(&context, (const unsigned char*)ZSTR_VAL(textual), | 133 | PHP_SHA256Update(&context, (const unsigned char*)ZSTR_VAL(textual), |
