Matt Caswell 6e99ae58c8 Ignore an s_client psk in TLSv1.3 if not TLSv1.3 suitable
The s_client psk_use_session_cb callback has a comment stating that we
should ignore a key that isn't suitable for TLSv1.3. However we were
actually causing the connection to fail. Changing the return value fixes
the issue.

Also related to this is that the early_data extension was not marked as
TLSv1.3 only which it should be.

Fixes #5202

Reviewed-by: Ben Kaduk <kaduk@mit.edu>
(Merged from https://github.com/openssl/openssl/pull/5205)
2018-02-14 15:42:36 +00:00
..
2017-07-17 07:46:49 -04:00
2018-02-13 13:59:25 +00:00
2018-02-13 13:59:25 +00:00
2017-12-03 14:01:39 +01:00
2018-02-13 13:59:25 +00:00
2018-01-31 23:45:12 +01:00
2018-02-13 13:59:25 +00:00
2018-02-13 13:59:25 +00:00
2018-02-13 13:59:25 +00:00
2018-02-13 13:59:25 +00:00
2018-02-13 13:59:25 +00:00
2018-02-13 13:59:25 +00:00
2018-02-13 13:59:25 +00:00
2018-02-13 13:59:25 +00:00
2018-02-13 13:59:25 +00:00
2018-02-13 13:59:25 +00:00
2018-02-13 13:59:25 +00:00
2018-02-13 13:59:25 +00:00
2018-02-13 13:59:25 +00:00
2018-02-13 13:59:25 +00:00
2018-02-13 13:59:25 +00:00
2017-05-03 09:04:23 +02:00
2017-05-03 09:04:23 +02:00
2018-02-13 13:59:25 +00:00
2018-02-13 13:59:25 +00:00
2018-02-13 13:59:25 +00:00
2018-02-13 13:59:25 +00:00
2018-02-13 13:59:25 +00:00
2018-02-13 13:59:25 +00:00
2018-02-13 13:59:25 +00:00
2018-02-13 13:59:25 +00:00
2018-02-13 13:59:25 +00:00
2018-02-13 13:59:25 +00:00
2018-02-13 13:59:25 +00:00
2018-02-13 13:59:25 +00:00
2018-02-13 13:59:25 +00:00
2018-02-13 13:59:25 +00:00
2018-02-13 13:59:25 +00:00
2018-02-13 13:59:25 +00:00
2018-02-13 13:59:25 +00:00
2018-02-13 13:59:25 +00:00
2018-01-31 23:45:12 +01:00
2018-02-13 13:59:25 +00:00
2018-02-13 13:59:25 +00:00
2018-02-13 13:59:25 +00:00
2016-05-17 14:19:19 -04:00
2016-05-17 14:19:19 -04:00
2018-02-13 13:59:25 +00:00
2017-06-30 21:56:44 -04:00
2018-02-13 13:59:25 +00:00
2018-02-13 13:59:25 +00:00
2016-05-17 14:19:19 -04:00
2017-06-30 21:56:44 -04:00
2016-10-19 00:56:48 +02:00
2018-02-13 13:59:25 +00:00