diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-01-24 16:03:14 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-02-10 15:55:06 -0500 |
commit | 50c259d763c7471588b4e1f242695d2652e4284b (patch) | |
tree | 95018c9f25fde4fbf49338ecfb6af098b8558ecb /src/or/rendservice.c | |
parent | 5fc6967956610111d8cf24792ddf000bd83b4b86 (diff) | |
download | tor-50c259d763c7471588b4e1f242695d2652e4284b.tar.gz tor-50c259d763c7471588b4e1f242695d2652e4284b.zip |
Make the DH parameter we use for TLS match the one from Apache's mod_ssl
Our regular DH parameters that we use for circuit and rendezvous
crypto are unchanged. This is yet another small step on the path of
protocol fingerprinting resistance.
(Backport from 0.2.2's 5ed73e3807d90dd0a3)
Diffstat (limited to 'src/or/rendservice.c')
-rw-r--r-- | src/or/rendservice.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/rendservice.c b/src/or/rendservice.c index a650eda405..33e8d3e7e9 100644 --- a/src/or/rendservice.c +++ b/src/or/rendservice.c @@ -1151,7 +1151,7 @@ rend_service_introduce(origin_circuit_t *circuit, const uint8_t *request, } /* Try DH handshake... */ - dh = crypto_dh_new(); + dh = crypto_dh_new(DH_TYPE_REND); if (!dh || crypto_dh_generate_public(dh)<0) { log_warn(LD_BUG,"Internal error: couldn't build DH state " "or generate public key."); |