diff --git a/plugins/ssh-base/sshd.c b/plugins/ssh-base/sshd.c index bee87fb6..797b7337 100644 --- a/plugins/ssh-base/sshd.c +++ b/plugins/ssh-base/sshd.c @@ -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; }