openssl/apps
Matt Caswell bac6abe18d Allow an endpoint to read the alert data before closing the socket
If an alert gets sent and then we close the connection immediately with
data still in the input buffer then a TCP-RST gets sent. Some OSs
immediately abandon data in their input buffer if a TCP-RST is received -
meaning the alert data itself gets ditched. Sending a TCP-FIN before the
TCP-RST seems to avoid this.

This was causing test failures in MSYS2 builds.

Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Ben Kaduk <kaduk@mit.edu>
(Merged from https://github.com/openssl/openssl/pull/4333)
2017-09-08 13:10:57 +01:00
..
demoSRP
app_rand.c Fix use-after-free 2017-07-17 07:46:49 -04:00
apps.c NO_SYS_TYPES_H isn't defined anywhere, stop using it as a guard 2017-08-25 15:50:59 +02:00
apps.h struct timeval include guards 2017-09-01 09:55:43 +10:00
asn1pars.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
build.info Add a simple store utility command 2017-06-29 11:55:31 +02:00
ca-cert.srl
ca-key.pem
ca-req.pem
ca.c Remove the X_OK define, it is unused. 2017-08-30 07:20:44 +10:00
CA.pl.in apps/req.c: flag "-new" is implied by "-precert" 2017-02-22 10:40:30 -05:00
cert.pem
ciphers.c Support converting cipher name to RFC name and vice versa 2017-07-21 07:20:14 +10:00
client.pem
cms.c Standardize apps use of -rand, etc. 2017-07-16 19:20:45 -04:00
crl.c Switch command-line utils to new nameopt API. 2017-04-25 12:37:17 -04:00
crl2p7.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
ct_log_list.cnf
dgst.c Fix some pedantic warnings. 2017-07-17 11:24:08 +10:00
dh1024.pem
dh2048.pem
dh4096.pem
dhparam.c Standardize apps use of -rand, etc. 2017-07-16 19:20:45 -04:00
dsa-ca.pem
dsa-pca.pem
dsa.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
dsa512.pem
dsa1024.pem
dsap.pem
dsaparam.c Standardize apps use of -rand, etc. 2017-07-16 19:20:45 -04:00
ec.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
ecparam.c Standardize apps use of -rand, etc. 2017-07-16 19:20:45 -04:00
enc.c Check # of arguments for remaining commands. 2017-08-21 10:58:49 -04:00
engine.c Rework the append_buf function 2017-07-06 08:03:58 +10:00
errstr.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
gendsa.c Standardize apps use of -rand, etc. 2017-07-16 19:20:45 -04:00
genpkey.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
genrsa.c Check # of arguments for remaining commands. 2017-08-21 10:58:49 -04:00
nseq.c
ocsp.c (Re)move some things from e_os.h 2017-08-22 14:15:40 -04:00
openssl-vms.cnf Added support for ESSCertIDv2 2017-05-03 09:04:23 +02:00
openssl.c Move OPENSSL_CONF from e_os.h to cryptlib.h 2017-08-30 07:20:44 +10:00
openssl.cnf Added support for ESSCertIDv2 2017-05-03 09:04:23 +02:00
opt.c Fix ctype arguments. 2017-08-22 07:35:08 +10:00
passwd.c apps/passwd.c: Make MD5 and SHA password making EBCDIC aware 2017-08-24 23:46:44 +02:00
pca-cert.srl
pca-key.pem
pca-req.pem
pkcs7.c Switch command-line utils to new nameopt API. 2017-04-25 12:37:17 -04:00
pkcs8.c Standardize apps use of -rand, etc. 2017-07-16 19:20:45 -04:00
pkcs12.c Fix building without scrypt 2017-08-08 20:50:44 +01:00
pkey.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
pkeyparam.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
pkeyutl.c Allow use of long name for KDFs 2017-08-03 02:18:44 +01:00
prime.c Check # of arguments for remaining commands. 2017-08-21 10:58:49 -04:00
privkey.pem
progs.pl Reformat progs.pl; add ARIA support 2017-06-21 08:44:56 -04:00
rand.c Check # of arguments for remaining commands. 2017-08-21 10:58:49 -04:00
rehash.c Fix ctype arguments. 2017-08-22 07:35:08 +10:00
req.c Fix some Typos and indents 2017-08-11 10:16:33 -04:00
req.pem
rsa.c Fix rsa -check option 2017-07-29 00:24:27 +08:00
rsa8192.pem
rsautl.c Standardize apps use of -rand, etc. 2017-07-16 19:20:45 -04: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 (Re)move some things from e_os.h 2017-08-22 14:15:40 -04:00
s_client.c Various review fixes for PSK early_data support 2017-08-31 15:03:35 +01:00
s_server.c Ensure we exchange cookies in s_server even if SCTP is disabled 2017-08-25 10:50:56 +01:00
s_socket.c Allow an endpoint to read the alert data before closing the socket 2017-09-08 13:10:57 +01:00
s_time.c (Re)move some things from e_os.h 2017-08-22 14:15:40 -04:00
server.pem
server.srl
server2.pem
sess_id.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
smime.c Standardize apps use of -rand, etc. 2017-07-16 19:20:45 -04:00
speed.c Remove useless macros in apps/speed.c 2017-08-22 13:22:16 -04:00
spkac.c Fix possible usage of NULL pointers in apps/spkac.c 2017-06-10 02:22:22 +08:00
srp.c Check # of arguments for remaining commands. 2017-08-21 10:58:49 -04:00
storeutl.c STORE 'file' scheme loader: refactor the treatment of matches 2017-06-29 11:55:33 +02: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 Standardize apps use of -rand, etc. 2017-07-16 19:20:45 -04:00
tsget.in Cleanup some copyright stuff 2017-06-30 21:56:44 -04:00
verify.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
version.c Check # of arguments for remaining commands. 2017-08-21 10:58:49 -04:00
vms_decc_init.c
vms_term_sock.c Cleanup some copyright stuff 2017-06-30 21:56:44 -04:00
vms_term_sock.h Cleanup some copyright stuff 2017-06-30 21:56:44 -04:00
win32_init.c
x509.c Add '-ext' option to display extensions in 'x509' 2017-08-01 10:24:51 +02:00