r14060@tombo: nickm | 2008-02-08 13:36:52 -0500

Fix warning in onion.c


svn:r13427
This commit is contained in:
Nick Mathewson 2008-02-08 21:13:05 +00:00
parent 8ab4b0d302
commit 5d250d3e1b

View File

@ -436,7 +436,7 @@ fast_client_handshake(const char *handshake_state, /* DIGEST_LEN bytes */
char tmp[DIGEST_LEN+DIGEST_LEN];
char *out;
size_t out_len;
int r;
int r = -1;
memcpy(tmp, handshake_state, DIGEST_LEN);
memcpy(tmp+DIGEST_LEN, handshake_reply_out, DIGEST_LEN);