openssl/apps
Cory Benfield 729ef85611 s_client accepts host/port as positional argument.
This allows the user to provide the target host and optional port to
openssl s_client as an optional positional argument, rather than as the
argument to the -connect flag. This rationalises the user experience of
s_client: given that the only logical purpose of s_client is to connect
to a host, it is difficult to understand why there is an (effectively
mandatory) command option to pass to make that happen.

This patch forbids providing *both* -connect and the positional
argument, because it would likely be too difficult to reconcile.
Otherwise, using the positional argument behaves exactly the same as
using -connect does.

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1171)
2017-06-19 08:42:10 +01:00
..
demoSRP Missing SRP files. 2011-03-16 11:50:33 +00:00
app_rand.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
apps.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
apps.h Fix #2400 Add NO_RENEGOTIATE option 2017-06-06 22:39:41 +01:00
asn1pars.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
build.info Build apps/progs.h dynamically 2017-06-15 19:49:21 +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 Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04: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 Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
client.pem Replace expired test server and client certificates with new ones. 2011-12-08 14:44:05 +00:00
cms.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -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 GH1536: Install empty CT log list 2016-09-14 18:22:33 -04:00
dgst.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -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 Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04: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 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 Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
ec.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
ecparam.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
enc.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
engine.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
errstr.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
gendsa.c If an engine comes up explicitely, it must also come down explicitely 2016-10-19 17:44:08 +02:00
genpkey.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
genrsa.c If an engine comes up explicitely, it must also come down explicitely 2016-10-19 17:44:08 +02:00
nseq.c Constify command options 2016-10-14 18:25:50 +02:00
ocsp.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
openssl-vms.cnf Added support for ESSCertIDv2 2017-05-03 09:04:23 +02:00
openssl.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
openssl.cnf Added support for ESSCertIDv2 2017-05-03 09:04:23 +02:00
opt.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
passwd.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -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 Switch command-line utils to new nameopt API. 2017-04-25 12:37:17 -04:00
pkcs8.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
pkcs12.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04: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 Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
prime.c Fix some extra or missing whitespaces... 2017-01-25 09:06:34 +00:00
privkey.pem PR: 1644 2009-09-06 15:49:46 +00:00
progs.pl Build apps/progs.h dynamically 2017-06-15 19:49:21 +02:00
rand.c If an engine comes up explicitely, it must also come down explicitely 2016-10-19 17:44:08 +02:00
rehash.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
req.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
req.pem
rsa.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
rsa8192.pem
rsautl.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -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 Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
s_client.c s_client accepts host/port as positional argument. 2017-06-19 08:42:10 +01:00
s_server.c Forbid to specify -nextprotoneg if -tls1_3 is enabled 2017-06-16 17:00:22 -04:00
s_socket.c Fix some variable references in init_client 2017-04-25 11:13:39 +01:00
s_time.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
server.pem Replace expired test server and client certificates with new ones. 2011-12-08 14:44:05 +00:00
server.srl
server2.pem Replace expired test server and client certificates with new ones. 2011-12-08 14:44:05 +00:00
sess_id.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
smime.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
speed.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
spkac.c Fix possible usage of NULL pointers in apps/spkac.c 2017-06-10 02:22:22 +08:00
srp.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04: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 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 Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
tsget.in perl: Separate compile-time environment from runtime environment 2016-07-04 15:40:31 +02:00
verify.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
version.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
vms_decc_init.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
vms_term_sock.c Reformat to fit OpenSSL source code standards 2016-09-15 23:24:06 +02:00
vms_term_sock.h Reformat to fit OpenSSL source code standards 2016-09-15 23:24:06 +02:00
win32_init.c Fix not-c code 2016-10-19 00:56:48 +02:00
x509.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00