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
demoSRP
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
ca-key.pem
ca-req.pem
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
ciphers.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
client.pem
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
dsa1024.pem
dsa-ca.pem
dsa-pca.pem
dsa.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
dsap.pem
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
openssl.c Rename lh_xxx,sk_xxx tp OPENSSL_{LH,SK}_xxx 2016-05-20 10:48:29 -04:00
openssl.cnf
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
pca-key.pem
pca-req.pem
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
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
rsa8192.pem
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
s512-req.pem
s1024key.pem
s1024req.pem
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
server.pem
server.srl
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
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