diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-01-15 12:02:55 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-01-15 12:02:55 -0500 |
commit | ed87738ede789fb9eccfd2e5a34bd8c484dfe44e (patch) | |
tree | 27eb5efade75d368692a80d258615415deb8a7dc /src/or/rendclient.c | |
parent | b27f5cc50d4a66bff31e43a596eb296a1b5a11dc (diff) | |
parent | 50b06a2b76190170e9f80739f022696755b54b99 (diff) | |
download | tor-ed87738ede789fb9eccfd2e5a34bd8c484dfe44e.tar.gz tor-ed87738ede789fb9eccfd2e5a34bd8c484dfe44e.zip |
Merge remote branch 'origin/maint-0.2.1' into maint-0.2.2
Conflicts:
src/or/config.c
src/or/networkstatus.c
src/or/rendcommon.c
src/or/routerparse.c
src/or/test.c
Diffstat (limited to 'src/or/rendclient.c')
-rw-r--r-- | src/or/rendclient.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/rendclient.c b/src/or/rendclient.c index 7c626c6a64..b8526b676d 100644 --- a/src/or/rendclient.c +++ b/src/or/rendclient.c @@ -184,6 +184,7 @@ rend_client_send_introduction(origin_circuit_t *introcirc, /*XXX maybe give crypto_pk_public_hybrid_encrypt a max_len arg, * to avoid buffer overflows? */ r = crypto_pk_public_hybrid_encrypt(intro_key, payload+DIGEST_LEN, + sizeof(payload)-DIGEST_LEN, tmp, (int)(dh_offset+DH_KEY_LEN), PK_PKCS1_OAEP_PADDING, 0); |