Commit 9da34ad6 authored by John Foley's avatar John Foley Committed by Matt Caswell
Browse files

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
05990777.

Reviewed-by: default avatarTim Hudson <tjh@openssl.org>
parent a63d3ac0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;