mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
rendclient: use ptrdiff, not off_t, for offset of DH field.
The off_t type is only useful for offsets on the filesystem. For in-memory offsets, use ptrdiff_t.
This commit is contained in:
@@ -119,7 +119,7 @@ rend_client_send_introduction(origin_circuit_t *introcirc,
|
||||
char tmp[RELAY_PAYLOAD_SIZE];
|
||||
rend_cache_entry_t *entry = NULL;
|
||||
crypt_path_t *cpath;
|
||||
off_t dh_offset;
|
||||
ptrdiff_t dh_offset;
|
||||
crypto_pk_t *intro_key = NULL;
|
||||
int status = 0;
|
||||
const char *onion_address;
|
||||
|
||||
Reference in New Issue
Block a user