mirror of
https://github.com/simon987/ngx_http_js_challenge_module.git
synced 2025-04-10 05:56:44 +00:00
This commit is contained in:
parent
00fe1b6e2f
commit
d8f7f5e001
@ -282,7 +282,7 @@ int verify_response(ngx_str_t response, char *challenge) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
unsigned char md[SHA1_MD_LEN];
|
unsigned char md[SHA1_MD_LEN];
|
||||||
SHA1((unsigned char *) response.data, response.len, md);
|
__sha1((unsigned char *) response.data, response.len, md);
|
||||||
|
|
||||||
unsigned int nibble1;
|
unsigned int nibble1;
|
||||||
if (challenge[0] <= '9') {
|
if (challenge[0] <= '9') {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user