projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
7a85151
)
Avoid undefined behavior.
author
Guus Sliepen
<guus@tinc-vpn.org>
Mon, 26 Oct 2015 12:46:30 +0000
(13:46 +0100)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Mon, 26 Oct 2015 12:46:30 +0000
(13:46 +0100)
Left shifts of negative values is undefined in C. This happens a lot in
the
Ed25519
code. Cast to unsigned first, then cast the result back to
signed where necessary.
No differences found