mirror of https://github.com/oxen-io/session-ios
Constant time compare
- fix case when second part of the && conditional is skipped when data is not equal - isEqual variable marked volatile to prevent case when it doesn't equal 0, the loop can break early since it can never be 0 again - tested with Fastest O3 and Whole Module optimization (App Store Release) // FREEBIEpull/1/head
parent
b358a75e3e
commit
cc94573e9b
Loading…
Reference in New Issue