Matt Caswell ee85fc1dd6 Don't set peer_tmp until we have finished constructing it
If we fail halfway through constructing the peer_tmp EVP_PKEY but we have
already stored it in s->s3->peer_tmp then if anything tries to use it then
it will likely fail. This was causing s_client to core dump in the
sslskewith0p test. s_client was trying to print out the connection
parameters that it had negotiated so far. Arguably s_client should not do
that if the connection has failed...but given it is existing functionality
it's easier to fix libssl.

Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
2016-04-22 15:37:17 +01:00
..
2016-04-04 16:11:43 -04:00
2016-03-29 17:40:54 +01:00
2016-04-04 16:11:43 -04:00
2016-01-26 16:40:43 -05:00
2016-04-11 14:31:26 +01:00
2016-01-26 16:40:43 -05:00
2016-04-04 16:11:43 -04:00
2016-04-04 16:11:43 -04:00
2016-01-26 16:40:43 -05:00
2016-04-15 13:21:43 -04:00
2016-04-13 08:59:03 +01:00
2016-04-05 13:44:46 +02:00
2016-04-07 14:41:34 -04:00
2016-04-13 21:25:24 +01:00
2016-04-11 09:59:04 -04:00
2016-04-13 08:59:03 +01:00
2016-01-26 16:40:43 -05:00
2016-03-03 13:27:34 +00:00
2016-04-14 08:41:29 -04:00
2016-04-04 16:11:43 -04:00
2016-02-15 10:17:12 -05:00
2016-03-20 19:48:36 -04:00
2016-04-11 14:22:43 +01:00
2016-02-18 17:14:50 -05:00
2016-01-26 16:40:43 -05:00