Bodo Möller e11f0de67f Copy DH key (if available) in addition to the bare parameters
in SSL_new.
If SSL_OP_SINGLE_DH_USE is set, don't waste time in SSL_[CTX_]set_tmp_dh
on computing a DH key that will be ignored anyway.

ssltest -dhe1024dsa (w/ 160-bit sub-prime) had an unfair performance
advantage over -dhe1024 (safe prime): SSL_OP_SINGLE_DH_USE was
effectively always enabled because SSL_new ignored the DH key set in
the SSL_CTX.  Now -dhe1024 takes the server only about twice as long
as -dhe1024dsa instead of three times as long (for 1024 bit RSA
with 1024 bit DH).
2000-03-13 17:07:04 +00:00
..
1999-04-29 16:04:54 +00:00
2000-02-03 23:23:24 +00:00
2000-02-25 14:47:38 +00:00
2000-02-03 23:23:24 +00:00
2000-02-26 02:16:36 +00:00
2000-02-24 04:41:03 +00:00
2000-02-03 23:23:24 +00:00
2000-02-21 17:09:54 +00:00
1999-08-05 13:31:42 +00:00
2000-03-12 23:27:14 +00:00
2000-03-06 07:31:17 +00:00
2000-02-03 23:23:24 +00:00
2000-02-03 23:23:24 +00:00