diff options
Diffstat (limited to 'src/sp_utils.c')
| -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), |
