mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
sshd: fix timingsafe_bcmp
https://github.com/warmcat/libwebsockets/issues/1288
This commit is contained in:
parent
0d787fa312
commit
c4f4b5c3c4
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ lws_timingsafe_bcmp(const void *a, const void *b, uint32_t len)
|
|||
uint8_t sum = 0;
|
||||
|
||||
while (len--)
|
||||
sum |= (*pa ^ *pb);
|
||||
sum |= (*pa++ ^ *pb++);
|
||||
|
||||
return sum;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue