openssl/apps
Matt Caswell 75dd6c1a39 Fix s_client/s_server waiting for stdin on Windows
On Windows we were using the function _kbhit() to determine whether there
was input waiting in stdin for us to read. Actually all this does is work
out whether there is a keyboard press event waiting to be processed in the
input buffer. This only seems to work in a standard Windows console (not
Msys console) and also doesn't work if you redirect the input from some
other source (as we do in TLSProxy tests). This commit changes things to
work differently depending on whether we are on the Windows console or not.

RT#4255

Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-05-27 15:18:46 +01:00
..
demoCA Import of old SSLeay release: SSLeay 0.8.1b 1998-12-21 10:52:47 +00:00
demoSRP Missing SRP files. 2011-03-16 11:50:33 +00:00
app_rand.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
apps.c Fix s_client/s_server waiting for stdin on Windows 2016-05-27 15:18:46 +01:00
apps.h Fix s_client/s_server waiting for stdin on Windows 2016-05-27 15:18:46 +01:00
asn1pars.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
build.info build.info files: add quotes around any spec that may contain spaces 2016-05-25 11:50:44 +02:00
ca-cert.srl Update test server certificate in apps/server.pem (it was expired). 2000-10-16 22:56:10 +00:00
ca-key.pem Fix verify(1) to report failure when verification fails 2016-01-13 17:55:17 -05:00
ca-req.pem Fix verify(1) to report failure when verification fails 2016-01-13 17:55:17 -05:00
ca.c Indent and dead code cleanup 2016-05-21 08:58:27 -04:00
CA.pl.in Make sure to initialize all CA.pl variables properly 2016-05-23 21:48:42 +02:00
cert.pem Import of old SSLeay release: SSLeay 0.9.0b 1998-12-21 10:56:39 +00:00
ciphers.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
client.pem Replace expired test server and client certificates with new ones. 2011-12-08 14:44:05 +00:00
cms.c Use correct EOL in headers. 2016-05-19 22:43:00 +01:00
crl2p7.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
crl.c X509_STORE_CTX accessors. 2016-05-17 16:06:09 -04:00
ct_log_list.cnf Extends s_client to allow a basic CT policy to be enabled 2016-03-04 10:50:10 -05:00
dgst.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
dh1024.pem Update Diffie-Hellman parameters to IANA standards 2016-05-03 10:32:01 -04:00
dh2048.pem Update Diffie-Hellman parameters to IANA standards 2016-05-03 10:32:01 -04:00
dh4096.pem Update Diffie-Hellman parameters to IANA standards 2016-05-03 10:32:01 -04:00
dhparam.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
dsa512.pem Import of old SSLeay release: SSLeay 0.8.1b 1998-12-21 10:52:47 +00:00
dsa1024.pem Import of old SSLeay release: SSLeay 0.8.1b 1998-12-21 10:52:47 +00:00
dsa-ca.pem Fix verify(1) to report failure when verification fails 2016-01-13 17:55:17 -05:00
dsa-pca.pem Fix verify(1) to report failure when verification fails 2016-01-13 17:55:17 -05:00
dsa.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
dsap.pem Import of old SSLeay release: SSLeay 0.9.0b 1998-12-21 10:56:39 +00:00
dsaparam.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
ec.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
ecparam.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
enc.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
engine.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
errstr.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
gendsa.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
genpkey.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
genrsa.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
nseq.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
ocsp.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
openssl-vms.cnf Remove outdated legacy crypto options 2016-01-27 19:05:50 -05:00
openssl.c Rename lh_xxx,sk_xxx tp OPENSSL_{LH,SK}_xxx 2016-05-20 10:48:29 -04:00
openssl.cnf Use better defaults for TSA. 2015-11-20 13:40:53 +00:00
opt.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
passwd.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
pca-cert.srl Update test server certificate in apps/server.pem (it was expired). 2000-10-16 22:56:10 +00:00
pca-key.pem Fix verify(1) to report failure when verification fails 2016-01-13 17:55:17 -05:00
pca-req.pem Fix verify(1) to report failure when verification fails 2016-01-13 17:55:17 -05:00
pkcs7.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
pkcs8.c Support for traditional format private keys. 2016-05-23 16:41:34 +01:00
pkcs12.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
pkey.c Support for traditional format private keys. 2016-05-23 16:41:34 +01:00
pkeyparam.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
pkeyutl.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
prime.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
privkey.pem PR: 1644 2009-09-06 15:49:46 +00:00
progs.h make update 2016-04-29 09:09:46 +02:00
progs.pl apps/progs.pl: don't make digests disablable by default 2016-04-29 09:08:06 +02:00
rand.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
rehash.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
req.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
req.pem Import of old SSLeay release: SSLeay 0.9.0b 1998-12-21 10:56:39 +00:00
rsa8192.pem Import of old SSLeay release: SSLeay 0.8.1b 1998-12-21 10:52:47 +00:00
rsa.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
rsautl.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
s512-key.pem Import of old SSLeay release: SSLeay 0.8.1b 1998-12-21 10:52:47 +00:00
s512-req.pem Import of old SSLeay release: SSLeay 0.8.1b 1998-12-21 10:52:47 +00:00
s1024key.pem Import of old SSLeay release: SSLeay 0.8.1b 1998-12-21 10:52:47 +00:00
s1024req.pem Import of old SSLeay release: SSLeay 0.8.1b 1998-12-21 10:52:47 +00:00
s_apps.h Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
s_cb.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
s_client.c Fix s_client/s_server waiting for stdin on Windows 2016-05-27 15:18:46 +01:00
s_server.c Fix s_client/s_server waiting for stdin on Windows 2016-05-27 15:18:46 +01:00
s_socket.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
s_time.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
server2.pem Replace expired test server and client certificates with new ones. 2011-12-08 14:44:05 +00:00
server.pem Replace expired test server and client certificates with new ones. 2011-12-08 14:44:05 +00:00
server.srl Import of old SSLeay release: SSLeay 0.9.0b 1998-12-21 10:56:39 +00:00
sess_id.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
smime.c Use correct EOL in headers. 2016-05-19 22:43:00 +01:00
speed.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
spkac.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
srp.c Indent and dead code cleanup 2016-05-21 08:58:27 -04:00
testCA.pem Import of old SSLeay release: SSLeay 0.8.1b 1998-12-21 10:52:47 +00:00
testdsa.h Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
testrsa.h Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
timeouts.h Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
ts.c Fix ts app help message 2016-05-18 10:44:08 +01:00
tsget.in Make the use of perl more consistent 2016-04-01 07:24:04 +02:00
verify.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
version.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
vms_decc_init.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
winrand.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
x509.c Check that the obtained public key is valid 2016-05-19 20:46:06 +01:00