Fix intermittent s_server issues with ECDHE
authorJohn Foley <foleyj@cisco.com>
Tue, 7 Apr 2015 22:05:05 +0000 (23:05 +0100)
committerMatt Caswell <matt@openssl.org>
Tue, 7 Apr 2015 22:37:46 +0000 (23:37 +0100)
commit9da34ad6cb09e8f57093da5003839894b09fb701
treece9034a5fbf8ad15be87a3498594590393ffe51a
parenta63d3ac012f4a1c3e7440dc9d419d8bc6041ee46
Fix intermittent s_server issues with ECDHE

Resolve a problem when using s_server with ECDHE cipher
suites in OpenSSL_1_0_1-stable.  Due to an uninitialized variable,
SSL_CTX_set_tmp_ecdh() is not always invoked within s_server. This bug
appears to have been introduced by
059907771b89549cbd07a81df1a5bdf51e062066.

Reviewed-by: Tim Hudson <tjh@openssl.org>
apps/s_server.c