mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 13:56:01 +03:00
parent
a249574692
commit
6f49bad748
2
CHANGES
2
CHANGES
@ -1,6 +1,8 @@
|
||||
DD MMM YYYY - 2.9.2 - To be released
|
||||
------------------------------------
|
||||
|
||||
* Fix the hex digit size for SHA1 on msc_crypt implementation.
|
||||
[Issue #1354 - @zimmerle and @parthasarathi204]
|
||||
* Avoid to flush xml buffer while assembling the injected html.
|
||||
[Issue #742 - @zimmerle]
|
||||
* Avoid additional operator invokation if last transform of a multimatch
|
||||
|
@ -189,7 +189,7 @@ char *hmac(modsec_rec *msr, const char *key, int key_len,
|
||||
unsigned char hmac_ipad[HMAC_PAD_SIZE], hmac_opad[HMAC_PAD_SIZE];
|
||||
unsigned char nkey[APR_SHA1_DIGESTSIZE];
|
||||
unsigned char *hmac_key = (unsigned char *) key;
|
||||
char hex_digest[APR_SHA1_DIGESTSIZE * 2], *hmac_digest;
|
||||
char hex_digest[APR_SHA1_DIGESTSIZE * 2 + 1], *hmac_digest;
|
||||
const char hex[] = "0123456789abcdef";
|
||||
int i;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user