mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-20 10:12:15 +01:00
Re-run latest git trunnel to get fix from teor for #13577
This commit is contained in:
parent
6f87aa3371
commit
e20fc286c0
@ -1,4 +1,4 @@
|
|||||||
/* trunnel.c -- copied from Trunnel v1.2
|
/* trunnel.c -- copied from Trunnel v1.4-pre
|
||||||
* https://gitweb.torproject.org/trunnel.git
|
* https://gitweb.torproject.org/trunnel.git
|
||||||
* You probably shouldn't edit this file.
|
* You probably shouldn't edit this file.
|
||||||
*/
|
*/
|
||||||
@ -75,7 +75,8 @@ uint64_t
|
|||||||
trunnel_htonll(uint64_t a)
|
trunnel_htonll(uint64_t a)
|
||||||
{
|
{
|
||||||
#ifdef IS_LITTLE_ENDIAN
|
#ifdef IS_LITTLE_ENDIAN
|
||||||
return trunnel_htonl(a>>32) | (((uint64_t)trunnel_htonl(a))<<32);
|
return trunnel_htonl((uint32_t)(a>>32))
|
||||||
|
| (((uint64_t)trunnel_htonl((uint32_t)a))<<32);
|
||||||
#else
|
#else
|
||||||
return a;
|
return a;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user