summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJohn Foley <foleyj@cisco.com>2015-04-07 23:05:05 +0100
committerMatt Caswell <matt@openssl.org>2015-04-07 23:37:46 +0100
commit9da34ad6cb09e8f57093da5003839894b09fb701 (patch)
treece9034a5fbf8ad15be87a3498594590393ffe51a /apps
parenta63d3ac012f4a1c3e7440dc9d419d8bc6041ee46 (diff)
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>
Diffstat (limited to 'apps')
-rw-r--r--apps/s_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/s_server.c b/apps/s_server.c
index 1220f49d6f..35b4061e89 100644
--- a/apps/s_server.c
+++ b/apps/s_server.c
@@ -998,7 +998,7 @@ int MAIN(int argc, char *argv[])
int off = 0;
int no_tmp_rsa = 0, no_dhe = 0, nocert = 0;
#ifndef OPENSSL_NO_ECDH
- int no_ecdhe;
+ int no_ecdhe = 0;
#endif
int state = 0;
const SSL_METHOD *meth = NULL;