mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
r14060@tombo: nickm | 2008-02-08 13:36:52 -0500
Fix warning in onion.c svn:r13427
This commit is contained in:
parent
8ab4b0d302
commit
5d250d3e1b
@ -436,7 +436,7 @@ fast_client_handshake(const char *handshake_state, /* DIGEST_LEN bytes */
|
|||||||
char tmp[DIGEST_LEN+DIGEST_LEN];
|
char tmp[DIGEST_LEN+DIGEST_LEN];
|
||||||
char *out;
|
char *out;
|
||||||
size_t out_len;
|
size_t out_len;
|
||||||
int r;
|
int r = -1;
|
||||||
|
|
||||||
memcpy(tmp, handshake_state, DIGEST_LEN);
|
memcpy(tmp, handshake_state, DIGEST_LEN);
|
||||||
memcpy(tmp+DIGEST_LEN, handshake_reply_out, DIGEST_LEN);
|
memcpy(tmp+DIGEST_LEN, handshake_reply_out, DIGEST_LEN);
|
||||||
|
Loading…
Reference in New Issue
Block a user