openssl/ssl
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
..
record Revert "various spelling fixes" 2016-04-04 16:11:43 -04:00
statem Don't set peer_tmp until we have finished constructing it 2016-04-22 15:37:17 +01:00
bio_ssl.c Make BIO opaque 2016-03-29 17:40:54 +01:00
build.info Update build.info files for auto-init/de-init 2016-02-09 15:11:38 +00:00
d1_lib.c Revert "various spelling fixes" 2016-04-04 16:11:43 -04:00
d1_msg.c Remove /* foo.c */ comments 2016-01-26 16:40:43 -05:00
d1_srtp.c Add new DTLS-SRTP protection profiles from RFC 7714 2016-02-04 22:52:21 +00:00
methods.c Allow different protocol version when trying to reuse a session 2016-03-27 23:58:50 +02:00
packet_locl.h Refactor ClientHello extension parsing 2016-03-03 13:53:26 +01:00
pqueue.c Remove an unused function 2016-04-11 14:31:26 +01:00
s3_cbc.c Remove /* foo.c */ comments 2016-01-26 16:40:43 -05:00
s3_enc.c Revert "various spelling fixes" 2016-04-04 16:11:43 -04:00
s3_lib.c Revert "various spelling fixes" 2016-04-04 16:11:43 -04:00
s3_msg.c Implement write pipeline support in libssl 2016-03-07 21:39:27 +00:00
ssl_asn1.c Remove /* foo.c */ comments 2016-01-26 16:40:43 -05:00
ssl_cert.c Make many X509_xxx types opaque. 2016-04-15 13:21:43 -04:00
ssl_ciph.c Rename int_*() functions to *_int() 2016-04-13 08:59:03 +01:00
ssl_conf.c New SSL test framework 2016-04-05 13:44:46 +02:00
ssl_err.c make update 2016-04-07 14:41:34 -04:00
ssl_init.c Remove OPENSSL_NO_SHA guards 2016-04-13 21:25:24 +01:00
ssl_lib.c Add SSL_CTX_get_ciphers() 2016-04-11 09:59:04 -04:00
ssl_locl.h Rename int_*() functions to *_int() 2016-04-13 08:59:03 +01:00
ssl_mcnf.c Remove /* foo.c */ comments 2016-01-26 16:40:43 -05:00
ssl_rsa.c fix no-ec build 2016-03-03 13:27:34 +00:00
ssl_sess.c Add SSL_SESSION_get0_hostname() 2016-04-14 08:41:29 -04:00
ssl_stat.c Use return "" not set a var and return. 2016-03-31 16:27:52 -04:00
ssl_txt.c Revert "various spelling fixes" 2016-04-04 16:11:43 -04:00
ssl_utst.c Fix build-break 2016-02-15 10:17:12 -05:00
t1_enc.c Remove #error from include files. 2016-03-20 19:48:36 -04:00
t1_ext.c Fix the no-nextprotoneg option 2016-04-11 14:22:43 +01:00
t1_lib.c Fix no-ocsp on Windows (and probably VMS) 2016-04-21 17:03:02 +01:00
t1_reneg.c Remove outdated DEBUG flags. 2016-02-18 17:14:50 -05:00
t1_trce.c Adds CT validation to SSL connections 2016-03-04 10:50:10 -05:00
tls_srp.c Remove /* foo.c */ comments 2016-01-26 16:40:43 -05:00