openssl/apps
Richard Levitte 10b37541dc Fix late opening of output file
For 'openssl dhparams', the output file was opened after calculations
were made, which is a waste of cycles and time if the output file
turns out not to be writable.

Fixes #3404

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6051)
2018-04-23 10:51:36 +02:00
..
demoSRP Missing SRP files. 2011-03-16 11:50:33 +00:00
app_rand.c Fix use-after-free 2017-07-17 07:46:49 -04:00
apps.c Add missing index_index() when reloading OCSP responder 2018-04-18 22:29:35 -04:00
apps.h Support "-min_protocol" and "-max_protocol" in s_server and s_client 2018-03-19 18:24:30 +01:00
asn1pars.c Change the "offset too large" message to more generic wording 2018-04-03 16:02:17 +02:00
bf_prefix.c Fix of prefix bio filter (bf_prefix.c): rely on the given length 2018-02-01 22:09:41 +01:00
build.info Fix resource files 2018-03-22 10:53:22 -04: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 Add missing index_index() when reloading OCSP responder 2018-04-18 22:29:35 -04:00
CA.pl.in Update copyright year 2018-03-20 13:08:46 +00:00
cert.pem Import of old SSLeay release: SSLeay 0.9.0b 1998-12-21 10:56:39 +00:00
ciphers.c Split configuration of TLSv1.3 ciphers from older ciphers 2018-03-14 10:15:50 +00:00
client.pem Replace expired test server and client certificates with new ones. 2011-12-08 14:44:05 +00:00
cms.c apps: Don't include progs.h in apps.h 2018-01-31 23:45:12 +01:00
crl.c Update copyright year 2018-02-13 13:59:25 +00:00
crl2p7.c Update copyright year 2018-02-13 13:59:25 +00:00
ct_log_list.cnf GH1536: Install empty CT log list 2016-09-14 18:22:33 -04:00
dgst.c Add a note and better error if using Ed25519/Ed448 in dgst 2018-04-06 10:10:05 +01: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 Fix late opening of output file 2018-04-23 10:51:36 +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 Update copyright year 2018-02-13 13:59:25 +00: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 Fix dsaparam -genkey with DER outform 2018-03-26 15:10:23 +02:00
ec.c Update copyright year 2018-02-13 13:59:25 +00:00
ecparam.c Fix ecparam -genkey with point compression or DER outform 2018-03-25 11:12:46 +02:00
enc.c Add support for PBKDF2 for enc command 2018-02-21 12:36:21 +00:00
engine.c Update copyright year 2018-02-13 13:59:25 +00:00
errstr.c Update copyright year 2018-02-13 13:59:25 +00:00
gendsa.c Update copyright year 2018-02-13 13:59:25 +00:00
genpkey.c Update copyright year 2018-02-13 13:59:25 +00:00
genrsa.c Fix the type of -out option 2018-02-28 18:44:56 +01:00
nseq.c Update copyright year 2018-02-13 13:59:25 +00:00
ocsp.c Fix ocsp app exit code 2018-04-19 08:39:42 +01:00
openssl-vms.cnf Add support for .include directive in config files 2018-03-05 13:32:40 +00:00
openssl.c Add SM2 signature and ECIES schemes 2018-03-19 14:33:25 +01:00
openssl.cnf Add support for .include directive in config files 2018-03-05 13:32:40 +00:00
opt.c Check on VMS as well 2018-02-28 18:48:04 +01:00
passwd.c Update copyright year 2018-02-13 13:59:25 +00: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 Update copyright year 2018-02-13 13:59:25 +00:00
pkcs8.c Update copyright year 2018-02-13 13:59:25 +00:00
pkcs12.c Update copyright year 2018-02-13 13:59:25 +00:00
pkey.c Update copyright year 2018-02-13 13:59:25 +00:00
pkeyparam.c Update copyright year 2018-02-13 13:59:25 +00:00
pkeyutl.c Make pkeyutl a bit more user-friendly 2018-03-20 19:08:10 +00:00
prime.c Update copyright year 2018-02-13 13:59:25 +00:00
privkey.pem PR: 1644 2009-09-06 15:49:46 +00:00
progs.pl Enable all implemented digests 2018-04-19 21:03:53 +02:00
rand.c Update copyright year 2018-02-13 13:59:25 +00:00
rehash.c openssl rehash: use libcrypto variables for default dir 2018-04-12 15:34:58 +02:00
req.c correct spelling errors detected by Debian lintian 2018-04-19 11:10:17 +02:00
req.pem Import of old SSLeay release: SSLeay 0.9.0b 1998-12-21 10:56:39 +00:00
rsa.c Update copyright year 2018-02-13 13:59:25 +00:00
rsa8192.pem Import of old SSLeay release: SSLeay 0.8.1b 1998-12-21 10:52:47 +00:00
rsautl.c Update copyright year 2018-02-13 13:59:25 +00: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 openssl s_server: print the accepting address and socket 2018-04-04 20:24:26 +02:00
s_cb.c Introduce SSL_CTX_set_stateless_cookie_{generate,verify}_cb 2018-03-12 19:34:13 +00:00
s_client.c apps/{s_client.c|s_socket}.c: omit usleep calls. 2018-04-08 11:42:35 +02:00
s_server.c openssl s_server: print the accepting address and socket 2018-04-04 20:24:26 +02:00
s_socket.c apps/s_socket.c: fix memory sanitizer problem in ACCEPT printout. 2018-04-18 20:08:05 +02:00
s_time.c Cleanup the s_time command. 2018-03-21 16:23:57 +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 Fix the type of -out option 2018-02-28 18:44:56 +01:00
smime.c Update copyright year 2018-02-13 13:59:25 +00:00
speed.c speed: add ecdhx448 to ecdh choices 2018-03-09 07:15:20 -05:00
spkac.c Update copyright year 2018-02-13 13:59:25 +00:00
srp.c update SRP copyright notice 2018-03-13 18:33:44 +10:00
storeutl.c storeutl: make sure s2i_ASN1_INTEGER is correctly declared 2018-02-28 18:40:08 +01:00
testCA.pem Import of old SSLeay release: SSLeay 0.8.1b 1998-12-21 10:52:47 +00:00
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 Update copyright year 2018-02-13 13:59:25 +00:00
tsget.in Update copyright year 2018-03-20 13:08:46 +00:00
verify.c Update copyright year 2018-02-13 13:59:25 +00:00
version.c Restore the display of options with 'openssl version -a' 2018-03-09 14:28:51 +01:00
vms_decc_init.c Copyright consolidation 01/10 2016-05-17 14:19:19 -04:00
vms_term_sock.c Consistent formatting for sizeof(foo) 2017-12-07 19:11:49 -05:00
vms_term_sock.h Cleanup some copyright stuff 2017-06-30 21:56:44 -04:00
win32_init.c Fix not-c code 2016-10-19 00:56:48 +02:00
x509.c Previously this x509 command line was working, restore that 2018-03-26 15:11:47 +02:00