openssl/apps
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
..
demoSRP
CA.pl.in Adjusted Argument Indices 2017-12-03 14:01:39 +01:00
app_rand.c Fix use-after-free 2017-07-17 07:46:49 -04:00
apps.c Make sure that apps/openssl prefixes its output with '# ' during tests 2018-02-01 07:10:48 +01:00
apps.h Make sure that apps/openssl prefixes its output with '# ' during tests 2018-02-01 07:10:48 +01:00
asn1pars.c Update copyright year 2018-02-13 13:59:25 +00:00
bf_prefix.c Fix of prefix bio filter (bf_prefix.c): rely on the given length 2018-02-01 22:09:41 +01:00
build.info Add an apps internal BIO filter for prefixing output lines 2018-02-01 07:10:47 +01:00
ca-cert.srl
ca-key.pem
ca-req.pem
ca.c Update copyright year 2018-02-13 13:59:25 +00:00
cert.pem
ciphers.c Update copyright year 2018-02-13 13:59:25 +00:00
client.pem
cms.c apps: Don't include progs.h in apps.h 2018-01-31 23:45:12 +01:00
crl.c Update copyright year 2018-02-13 13:59:25 +00:00
crl2p7.c Update copyright year 2018-02-13 13:59:25 +00:00
ct_log_list.cnf
dgst.c Update copyright year 2018-02-13 13:59:25 +00:00
dh1024.pem
dh2048.pem
dh4096.pem
dhparam.c Update copyright year 2018-02-13 13:59:25 +00:00
dsa-ca.pem
dsa-pca.pem
dsa.c Update copyright year 2018-02-13 13:59:25 +00:00
dsa512.pem
dsa1024.pem
dsap.pem
dsaparam.c Update copyright year 2018-02-13 13:59:25 +00:00
ec.c Update copyright year 2018-02-13 13:59:25 +00:00
ecparam.c Update copyright year 2018-02-13 13:59:25 +00:00
enc.c Update copyright year 2018-02-13 13:59:25 +00:00
engine.c Update copyright year 2018-02-13 13:59:25 +00:00
errstr.c Update copyright year 2018-02-13 13:59:25 +00:00
gendsa.c Update copyright year 2018-02-13 13:59:25 +00:00
genpkey.c Update copyright year 2018-02-13 13:59:25 +00:00
genrsa.c Update copyright year 2018-02-13 13:59:25 +00:00
nseq.c Update copyright year 2018-02-13 13:59:25 +00:00
ocsp.c ocsp.c doesn't free the whole output chain, maybe causing a memory leak 2018-02-01 07:10:48 +01:00
openssl-vms.cnf Added support for ESSCertIDv2 2017-05-03 09:04:23 +02:00
openssl.c Make sure that apps/openssl prefixes its output with '# ' during tests 2018-02-01 07:10:48 +01:00
openssl.cnf Added support for ESSCertIDv2 2017-05-03 09:04:23 +02:00
opt.c Copyright update of more files that have changed this year 2018-01-19 13:34:03 +01:00
passwd.c Update copyright year 2018-02-13 13:59:25 +00:00
pca-cert.srl
pca-key.pem
pca-req.pem
pkcs7.c Update copyright year 2018-02-13 13:59:25 +00:00
pkcs8.c Update copyright year 2018-02-13 13:59:25 +00:00
pkcs12.c Update copyright year 2018-02-13 13:59:25 +00:00
pkey.c Update copyright year 2018-02-13 13:59:25 +00:00
pkeyparam.c Update copyright year 2018-02-13 13:59:25 +00:00
pkeyutl.c Update copyright year 2018-02-13 13:59:25 +00:00
prime.c Update copyright year 2018-02-13 13:59:25 +00:00
privkey.pem
progs.pl Copyright update of more files that have changed this year 2018-01-19 13:34:03 +01:00
rand.c Update copyright year 2018-02-13 13:59:25 +00:00
rehash.c Update copyright year 2018-02-13 13:59:25 +00:00
req.c Update copyright year 2018-02-13 13:59:25 +00:00
req.pem
rsa.c Update copyright year 2018-02-13 13:59:25 +00:00
rsa8192.pem
rsautl.c Update copyright year 2018-02-13 13:59:25 +00:00
s512-key.pem
s512-req.pem
s1024key.pem
s1024req.pem
s_apps.h Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
s_cb.c Update copyright year 2018-02-13 13:59:25 +00:00
s_client.c Ignore an s_client psk in TLSv1.3 if not TLSv1.3 suitable 2018-02-14 15:42:36 +00:00
s_server.c Update copyright year 2018-02-13 13:59:25 +00:00
s_socket.c Fix some style nits in commit eee8a40 2018-01-26 19:15:28 +01:00
s_time.c Update copyright year 2018-02-13 13:59:25 +00:00
server.pem
server.srl
server2.pem
sess_id.c Update copyright year 2018-02-13 13:59:25 +00:00
smime.c Update copyright year 2018-02-13 13:59:25 +00:00
speed.c apps: Don't include progs.h in apps.h 2018-01-31 23:45:12 +01:00
spkac.c Update copyright year 2018-02-13 13:59:25 +00:00
srp.c Update copyright year 2018-02-13 13:59:25 +00:00
storeutl.c Update copyright year 2018-02-13 13:59:25 +00:00
testCA.pem
testdsa.h Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
testrsa.h
timeouts.h
ts.c Update copyright year 2018-02-13 13:59:25 +00:00
tsget.in Cleanup some copyright stuff 2017-06-30 21:56:44 -04:00
verify.c Update copyright year 2018-02-13 13:59:25 +00:00
version.c Update copyright year 2018-02-13 13:59:25 +00:00
vms_decc_init.c
vms_term_sock.c Consistent formatting for sizeof(foo) 2017-12-07 19:11:49 -05:00
vms_term_sock.h Cleanup some copyright stuff 2017-06-30 21:56:44 -04:00
win32_init.c
x509.c Update copyright year 2018-02-13 13:59:25 +00:00