Avoid undefined behavior.
authorGuus Sliepen <guus@tinc-vpn.org>
Mon, 26 Oct 2015 12:46:30 +0000 (13:46 +0100)
committerGuus 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