mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
f060b18e6c
Since the rend code doesn't like the port to be 0, we shouldn't generate the port by declaring crypto_rand_int(65536); instead we should say crypto_rand_int(65535)+1. Diagnosed by Matt Edman; fixes bug 1808.