openssl/apps
Florian Mickler e16d9afe41 openssl srp: make index.txt parsing error more verbose
If index.txt exists but has some problems (like for example
consisting of a single \n character or number of fields wrong in one of the lines)
then openssl will just exit. This fixes it by printing an error when
load_index returns null.

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15360)
2021-05-24 14:37:00 +02:00
..
demoSRP Remove unnecessary trailing whitespace 2019-02-05 16:25:11 +01:00
include APPS: Allow duplicate entries in options list, marking them OPT_DUP 2021-05-20 16:31:22 +02:00
lib VMS: don't use app_malloc() in apps/lib/vms_decc_argv.c 2021-05-22 07:20:03 +02:00
asn1parse.c find-doc-nits: Make -c option (cmd-nits) independent of app build and execution 2021-05-18 13:02:23 +02:00
build.info CMP test server: move apps/{,lib/}cmp_mock_srv.c and apps/{,include/}cmp_mock_srv.h 2021-05-20 16:23:27 +02:00
ca-cert.srl
ca-key.pem
ca-req.pem
ca.c openssl ca: make index.txt parsing error more verbose 2021-05-24 14:36:59 +02:00
CA.pl.in DOC: Fix nits found by new check on SYNOPSIS and OPTIONS consistency 2021-05-20 16:24:43 +02:00
cert.pem
ciphers.c APPS: Replace 'OPT_ERR = -1, OPT_EOF = 0, OPT_HELP' by OPT_COMMON macro 2021-05-05 20:48:20 +02:00
client.pem
cmp.c apps/cmp.c: Move CMP server code portion to separate function 2021-05-20 16:23:26 +02:00
cms.c apps/cms.c: Correct -sign output and -verify input with -binary 2021-05-22 14:28:51 +02:00
crl2pkcs7.c find-doc-nits: Make -c option (cmd-nits) independent of app build and execution 2021-05-18 13:02:23 +02:00
crl.c Make the -inform option to be respected if possible 2021-05-06 11:43:32 +01:00
ct_log_list.cnf Remove unnecessary trailing whitespace 2019-02-05 16:25:11 +01:00
dgst.c HMAC doesn't work with a default digest 2021-05-21 13:07:28 +02:00
dhparam.c APPS: Replace 'OPT_ERR = -1, OPT_EOF = 0, OPT_HELP' by OPT_COMMON macro 2021-05-05 20:48:20 +02:00
dsa512.pem
dsa1024.pem
dsa-ca.pem
dsa-pca.pem
dsa.c Make the -inform option to be respected if possible 2021-05-06 11:43:32 +01:00
dsap.pem
dsaparam.c Make the -inform option to be respected if possible 2021-05-06 11:43:32 +01:00
ec.c apps: Cleanup useless bio_open_default() calls for key input 2021-05-21 10:00:21 +02:00
ecparam.c apps: Cleanup useless bio_open_default() calls for key input 2021-05-21 10:00:21 +02:00
enc.c change salt handling, way 1 2021-05-06 11:23:25 +01:00
engine.c Update copyright year 2021-05-06 13:03:23 +01:00
errstr.c Check non-option arguments 2020-12-15 11:47:17 +01:00
fipsinstall.c APPS: Replace 'OPT_ERR = -1, OPT_EOF = 0, OPT_HELP' by OPT_COMMON macro 2021-05-05 20:48:20 +02:00
gendsa.c Make the -inform option to be respected if possible 2021-05-06 11:43:32 +01:00
genpkey.c Add -quiet flag to genpkey 2021-05-18 09:20:26 +02:00
genrsa.c APPS: Replace 'OPT_ERR = -1, OPT_EOF = 0, OPT_HELP' by OPT_COMMON macro 2021-05-05 20:48:20 +02:00
info.c Update copyright year 2021-05-06 13:03:23 +01:00
insta.ca.crt openssl-cmp.pod.in: Update and extend example using Insta Demo CA 2020-08-04 12:11:46 +02:00
kdf.c coverity: fix 1484539 resource leak 2021-05-12 11:11:53 +10:00
list.c app: add a -store_loaders option to list. 2021-05-20 09:57:44 +01:00
mac.c coverity: fix 1484540 resource leak 2021-05-12 11:11:53 +10:00
nseq.c Update copyright year 2021-05-06 13:03:23 +01:00
ocsp.c openssl ocsp: make index.txt parsing error more verbose 2021-05-24 14:37:00 +02:00
openssl-vms.cnf Check the configuration file by default 2020-11-05 20:45:20 +03:00
openssl.c APPS: make apps strict on app_RAND_load() and app_RAND_write() failure 2021-04-14 16:48:27 +02:00
openssl.cnf Check the configuration file by default 2020-11-05 20:45:20 +03:00
passwd.c APPS: Replace 'OPT_ERR = -1, OPT_EOF = 0, OPT_HELP' by OPT_COMMON macro 2021-05-05 20:48:20 +02:00
pca-cert.srl
pca-key.pem
pca-req.pem
pkcs7.c APPS: Replace 'OPT_ERR = -1, OPT_EOF = 0, OPT_HELP' by OPT_COMMON macro 2021-05-05 20:48:20 +02:00
pkcs8.c Make the -inform option to be respected if possible 2021-05-06 11:43:32 +01:00
pkcs12.c APPS: Replace 'OPT_ERR = -1, OPT_EOF = 0, OPT_HELP' by OPT_COMMON macro 2021-05-05 20:48:20 +02:00
pkey.c apps: Cleanup useless bio_open_default() calls for key input 2021-05-21 10:00:21 +02:00
pkeyparam.c APPS: Replace 'OPT_ERR = -1, OPT_EOF = 0, OPT_HELP' by OPT_COMMON macro 2021-05-05 20:48:20 +02:00
pkeyutl.c Make the -inform option to be respected if possible 2021-05-06 11:43:32 +01:00
prime.c Update copyright year 2021-05-06 13:03:23 +01:00
privkey.pem
progs.pl Make apps/progs.pl not look at apps/progs.c 2021-05-19 19:04:06 +02:00
rand.c APPS: Replace 'OPT_ERR = -1, OPT_EOF = 0, OPT_HELP' by OPT_COMMON macro 2021-05-05 20:48:20 +02:00
rehash.c APPS: Replace 'OPT_ERR = -1, OPT_EOF = 0, OPT_HELP' by OPT_COMMON macro 2021-05-05 20:48:20 +02:00
req.c Make the -inform option to be respected if possible 2021-05-06 11:43:32 +01:00
req.pem
rsa8192.pem Fix rsa8192.pem 2020-05-13 06:28:36 +02:00
rsa.c Make the -inform option to be respected if possible 2021-05-06 11:43:32 +01:00
rsautl.c Make the -inform option to be respected if possible 2021-05-06 11:43:32 +01:00
s512-key.pem
s512-req.pem
s1024key.pem
s1024req.pem
s_client.c Add SSL_OP_ALLOW_CLIENT_RENEGOTIATION 2021-05-17 10:53:30 +02:00
s_server.c DOC: Fix nits found by new check on SYNOPSIS and OPTIONS consistency 2021-05-20 16:24:43 +02:00
s_time.c APPS: Replace 'OPT_ERR = -1, OPT_EOF = 0, OPT_HELP' by OPT_COMMON macro 2021-05-05 20:48:20 +02:00
server2.pem
server.pem Replace apps/server.pem with certificate with a sha256 signature. 2020-01-25 14:10:40 +01:00
server.srl
sess_id.c Update copyright year 2021-05-06 13:03:23 +01:00
smime.c Make the -inform option to be respected if possible 2021-05-06 11:43:32 +01:00
speed.c APPS: Replace 'OPT_ERR = -1, OPT_EOF = 0, OPT_HELP' by OPT_COMMON macro 2021-05-05 20:48:20 +02:00
spkac.c Update copyright year 2021-05-06 13:03:23 +01:00
srp.c openssl srp: make index.txt parsing error more verbose 2021-05-24 14:37:00 +02:00
storeutl.c Make the -inform option to be respected if possible 2021-05-06 11:43:32 +01:00
testCA.pem
testdsa.h Replace OSSL_PARAM_BLD_free_params() with OSSL_PARAM_free(). 2021-04-12 16:55:30 +10:00
testrsa.h Following the license change, modify the boilerplates in apps/ 2018-12-06 14:15:27 +01:00
timeouts.h Fix header file include guard names 2019-09-28 20:26:36 +02:00
ts.c APPS: Replace 'OPT_ERR = -1, OPT_EOF = 0, OPT_HELP' by OPT_COMMON macro 2021-05-05 20:48:20 +02:00
tsget.in apps/tsget.in: use the full version in the user agent string 2018-12-10 20:09:17 +01:00
verify.c Make the -inform option to be respected if possible 2021-05-06 11:43:32 +01:00
version.c Update copyright year 2021-05-06 13:03:23 +01:00
vms_decc_init.c VMS: move copy_argc to its own module and make it an aux source 2019-03-05 08:51:09 +01:00
x509.c Make the -inform option to be respected if possible 2021-05-06 11:43:32 +01:00