openssl/apps
Petr Gotthard 7dc67708c8 apps/openssl: add -propquery command line option
Fixes #13656. Right now all openssl commands use a NULL propq. This
patch adds a possibility to specify a custom propq.

The implementation follows the example of set_nameopt/get_nameopt.

Various tools had to be modified to call app_get0_propq after it has
been populated. Otherwise the -propquery has no effect.

The tests then verify the -propquery affects the tool behaviour by
requesting a non-existing property.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13707)
2021-02-05 10:24:04 +10:00
..
demoSRP Remove unnecessary trailing whitespace 2019-02-05 16:25:11 +01:00
include apps/openssl: add -propquery command line option 2021-02-05 10:24:04 +10:00
lib apps/openssl: add -propquery command line option 2021-02-05 10:24:04 +10:00
CA.pl.in Update copyright year 2020-04-23 13:55:52 +01:00
asn1pars.c Check non-option arguments 2020-12-15 11:47:17 +01:00
build.info Remove openssl provider app 2020-09-26 07:13:22 +10:00
ca-cert.srl
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 apps/ca: Properly handle certificate expiration times in do_updatedb 2021-02-03 11:29:07 +01:00
cert.pem
ciphers.c Check non-option arguments 2020-12-15 11:47:17 +01:00
client.pem Replace expired test server and client certificates with new ones. 2011-12-08 14:44:05 +00:00
cmp.c apps/cmp.c: check and exit on engine load error 2021-02-04 07:25:14 +01:00
cmp_mock_srv.c Update copyright year 2021-01-28 13:54:57 +01:00
cmp_mock_srv.h Rename OPENSSL_CTX prefix to OSSL_LIB_CTX 2020-10-15 11:59:53 +01:00
cms.c apps/openssl: add -propquery command line option 2021-02-05 10:24:04 +10:00
crl.c Update copyright year 2021-01-28 13:54:57 +01:00
crl2p7.c Check non-option arguments 2020-12-15 11:47:17 +01:00
ct_log_list.cnf Remove unnecessary trailing whitespace 2019-02-05 16:25:11 +01:00
dgst.c Update copyright year 2021-01-28 13:54:57 +01:00
dhparam.c dsa: apps deprecation changes 2020-12-17 21:09:54 +01: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 dsa: apps deprecation changes 2020-12-17 21:09:54 +01:00
dsa512.pem
dsa1024.pem
dsap.pem
dsaparam.c Check non-option arguments 2020-12-15 11:47:17 +01:00
ec.c Update copyright year 2021-01-28 13:54:57 +01:00
ecparam.c apps/ecparam: Avoid crash when parameters fail to load 2021-02-03 12:09:44 +01:00
enc.c Update copyright year 2021-01-28 13:54:57 +01:00
engine.c Check non-option arguments 2020-12-15 11:47:17 +01:00
errstr.c Check non-option arguments 2020-12-15 11:47:17 +01:00
fipsinstall.c Check non-option arguments 2020-12-15 11:47:17 +01:00
gendsa.c dsa: apps deprecation changes 2020-12-17 21:09:54 +01:00
genpkey.c apps/openssl: add -propquery command line option 2021-02-05 10:24:04 +10:00
genrsa.c Check non-option arguments 2020-12-15 11:47:17 +01:00
info.c Check non-option arguments 2020-12-15 11:47:17 +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 Check non-option arguments 2020-12-15 11:47:17 +01:00
list.c Drop OPENSSL_NO_RSA everywhere 2020-12-20 12:19:42 +01:00
mac.c apps/openssl: add -propquery command line option 2021-02-05 10:24:04 +10:00
nseq.c Check non-option arguments 2020-12-15 11:47:17 +01:00
ocsp.c Check non-option arguments 2020-12-15 11:47:17 +01:00
openssl-vms.cnf Check the configuration file by default 2020-11-05 20:45:20 +03:00
openssl.c Update copyright year 2021-01-28 13:54:57 +01:00
openssl.cnf Check the configuration file by default 2020-11-05 20:45:20 +03:00
passwd.c Update copyright year 2021-01-28 13:54:57 +01:00
pca-cert.srl
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 apps/openssl: add -propquery command line option 2021-02-05 10:24:04 +10:00
pkcs8.c Check non-option arguments 2020-12-15 11:47:17 +01:00
pkcs12.c Check non-option arguments 2020-12-15 11:47:17 +01:00
pkey.c Update copyright year 2021-01-28 13:54:57 +01:00
pkeyparam.c Check non-option arguments 2020-12-15 11:47:17 +01:00
pkeyutl.c apps/openssl: add -propquery command line option 2021-02-05 10:24:04 +10:00
prime.c Check non-option arguments 2020-12-15 11:47:17 +01:00
privkey.pem PR: 1644 2009-09-06 15:49:46 +00:00
progs.pl OPENSSL_NO_GOST has nothing to do with low-level algos 2020-12-15 04:39:58 +01:00
rand.c Check non-option arguments 2020-12-15 11:47:17 +01:00
rehash.c Update copyright year 2021-01-28 13:54:57 +01:00
req.c Update copyright year 2021-01-28 13:54:57 +01:00
req.pem
rsa.c dsa: apps deprecation changes 2020-12-17 21:09:54 +01:00
rsa8192.pem Fix rsa8192.pem 2020-05-13 06:28:36 +02:00
rsautl.c Check non-option arguments 2020-12-15 11:47:17 +01:00
s512-key.pem
s512-req.pem
s1024key.pem
s1024req.pem
s_client.c Update copyright year 2021-01-28 13:54:57 +01:00
s_server.c Drop OPENSSL_NO_RSA everywhere 2020-12-20 12:19:42 +01:00
s_time.c Check non-option arguments 2020-12-15 11:47:17 +01:00
server.pem Replace apps/server.pem with certificate with a sha256 signature. 2020-01-25 14:10:40 +01: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 Check non-option arguments 2020-12-15 11:47:17 +01:00
smime.c apps/openssl: add -propquery command line option 2021-02-05 10:24:04 +10:00
speed.c Update copyright year 2021-01-28 13:54:57 +01:00
spkac.c Check non-option arguments 2020-12-15 11:47:17 +01:00
srp.c Update copyright year 2021-01-28 13:54:57 +01:00
storeutl.c apps/openssl: add -propquery command line option 2021-02-05 10:24:04 +10:00
testCA.pem
testdsa.h Following the license change, modify the boilerplates in apps/ 2018-12-06 14:15:27 +01: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 Check non-option arguments 2020-12-15 11:47:17 +01: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 Check non-option arguments 2020-12-15 11:47:17 +01:00
version.c Check non-option arguments 2020-12-15 11:47:17 +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 Update copyright year 2021-01-28 13:54:57 +01:00