openssl/apps
Richard Levitte 599e5904b2 Make 'openssl req -x509' more equivalent to 'openssl req -new'
The following would fail, or rather, freeze:

    openssl genrsa -out rsa2048.pem 2048
    openssl req -x509 -key rsa2048.pem -keyform PEM -out cert.pem

In that case, the second command wants to read a certificate request
from stdin, because -x509 wasn't fully flagged as being for creating
something new.  This changes makes it fully flagged.

RT#4655

Reviewed-by: Andy Polyakov <appro@openssl.org>
2016-08-22 15:28:00 +02: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 cherry pick pr-512 changes 2016-05-29 13:36:59 -04:00
apps.c Add X509_getm_notBefore, X509_getm_notAfter 2016-08-21 18:25:23 +01:00
apps.h Duplicate includes 2016-08-20 19:31:12 +02:00
asn1pars.c Constify char* input parameters in apps code 2016-08-17 17:09:19 +01:00
build.info Simplify INCLUDE statements in build.info files 2016-07-01 18:36:08 +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 Constify certificate and CRL time routines. 2016-08-19 18:40:55 +01:00
CA.pl.in perl: Separate compile-time environment from runtime environment 2016-07-04 15:40:31 +02:00
cert.pem Import of old SSLeay release: SSLeay 0.9.0b 1998-12-21 10:56:39 +00:00
ciphers.c Add missing break statement 2016-06-14 11:21:44 +01:00
client.pem Replace expired test server and client certificates with new ones. 2011-12-08 14:44:05 +00:00
cms.c Constify char* input parameters in apps code 2016-08-17 17:09:19 +01:00
crl.c Constify certificate and CRL time routines. 2016-08-19 18:40:55 +01:00
crl2p7.c Avoid a double-free in crl2pl7 2016-06-14 11:27:10 +01: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 Deal with the consequences of constifying getters 2016-06-15 20:09:27 +02: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 Simplify and add help about OPT_PVK* options 2016-08-17 17:09:19 +01: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
dsap.pem Import of old SSLeay release: SSLeay 0.9.0b 1998-12-21 10:56:39 +00:00
dsaparam.c Deal with the consequences of constifying getters 2016-06-15 20:09:27 +02: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 Fix double calls to strlen 2016-07-20 01:35:38 -04:00
engine.c Have 'openssl engine' exit with non-zero when some engine fails to load 2016-08-04 16:57:49 +02:00
errstr.c Remove "lockit" from internal error-hash function 2016-08-04 14:23:08 -04:00
gendsa.c Deal with the consequences of constifying getters 2016-06-15 20:09:27 +02:00
genpkey.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
genrsa.c Deal with the consequences of constifying getters 2016-06-15 20:09:27 +02:00
nseq.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
ocsp.c Constify char* input parameters in apps code 2016-08-17 17:09:19 +01:00
openssl-vms.cnf RT3809: basicConstraints is critical 2016-06-13 09:18:22 -04:00
openssl.c apps/openssl.c: UTF-y Windows argv. 2016-08-01 09:52:06 +02:00
openssl.cnf RT3809: basicConstraints is critical 2016-06-13 09:18:22 -04:00
opt.c Allow proxy certs to be present when verifying a chain 2016-06-20 21:34:37 +02:00
passwd.c Fix return values of do_passwd() in apps/passwd.c 2016-08-01 15:16:27 +02: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 Convert PKCS12* functions to use const getters 2016-08-19 15:46:19 +01: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 Constify char* input parameters in apps code 2016-08-17 17:09:19 +01:00
prime.c Ensure BIGNUM is freed in an error path 2016-06-01 14:51:36 +01:00
privkey.pem PR: 1644 2009-09-06 15:49:46 +00:00
progs.h Make update, etc. 2016-08-05 11:19:33 -04:00
progs.pl Fix output text to avoid gratuitious git diff 2016-08-04 14:29:55 -04:00
rand.c Fix some RAND bugs 2016-06-01 10:45:18 -04:00
rehash.c Add mask for newly created symlink. 2016-07-22 12:07:13 +01:00
req.c Make 'openssl req -x509' more equivalent to 'openssl req -new' 2016-08-22 15:28:00 +02:00
req.pem Import of old SSLeay release: SSLeay 0.9.0b 1998-12-21 10:56:39 +00:00
rsa.c Simplify and add help about OPT_PVK* options 2016-08-17 17:09:19 +01:00
rsa8192.pem Import of old SSLeay release: SSLeay 0.8.1b 1998-12-21 10:52:47 +00: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 Constify certificate and CRL time routines. 2016-08-19 18:40:55 +01:00
s_client.c fix warning about trailing comma 2016-08-19 19:32:19 +01:00
s_server.c Small nits and cleanups 2016-08-17 17:09:19 +01:00
s_socket.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
s_time.c Relocalise some globals variables 2016-08-17 17:09:19 +01: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
server2.pem Replace expired test server and client certificates with new ones. 2011-12-08 14:44:05 +00:00
sess_id.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
smime.c Constify char* input parameters in apps code 2016-08-17 17:09:19 +01:00
speed.c Allow to run all speed test when async_jobs active 2016-08-19 10:52:13 -04:00
spkac.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
srp.c Code factorisation and simplification 2016-07-20 01:35:38 -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 Constify char* input parameters in apps code 2016-08-17 17:09:19 +01:00
tsget.in perl: Separate compile-time environment from runtime environment 2016-07-04 15:40:31 +02:00
verify.c Constify char* input parameters in apps code 2016-08-17 17:09:19 +01: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
win32_init.c apps/openssl.c: UTF-y Windows argv. 2016-08-01 09:52:06 +02:00
x509.c Constify certificate and CRL time routines. 2016-08-19 18:40:55 +01:00