openssl/apps
Bastian Germann d4c3bdb0f1 apps x509: restrict CAkeyform option to OPT_FMT_PDE
CAkeyform may be set to PEM, DER or ENGINE, but the current options
are not using the proper optionformat 'E' (OPT_FMT_PDE) for this.

Set the valtype for CAkeyform to 'E' and use OPT_FMT_PDE when extracting
the option value.

This amends 0ab6fc79a9 ("Fix regression on x509 keyform argument") which
did the same thing for keyform and changed the manpage synopsis entries
for both keyform and CAkeyform but did not change the option section.
Hence, change the option section for both of them.

CLA: trivial

Co-developed-by: Torben Hohn <torben.hohn@linutronix.de>
Signed-off-by: Torben Hohn <torben.hohn@linutronix.de>
Signed-off-by: Bastian Germann <bage@linutronix.de>

Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/11085)
2020-02-26 17:23:53 +01:00
..
demoSRP
include app: add a deprecation warning to all deprecated commands. 2020-02-12 08:52:42 +10:00
lib apps: distinguish between a parameter error and an unknown parameter. 2020-02-21 13:04:25 +01:00
asn1pars.c
build.info Deprecate the low level RSA functions. 2020-02-20 18:58:40 +10:00
ca-cert.srl
ca-key.pem
ca-req.pem
ca.c
CA.pl.in
cert.pem
ciphers.c
client.pem
cms.c
crl2p7.c
crl.c
ct_log_list.cnf
dgst.c APPS & TEST: Eliminate as much use of EVP_PKEY_size() as possible 2020-01-19 02:47:46 +01:00
dh1024.pem
dh2048.pem
dh4096.pem
dhparam.c Apps: don't build deprecated DH and DSA apps. 2020-02-14 08:40:45 +10:00
dsa512.pem
dsa1024.pem
dsa-ca.pem
dsa-pca.pem
dsa.c Apps: don't build deprecated DH and DSA apps. 2020-02-14 08:40:45 +10:00
dsap.pem
dsaparam.c Apps: don't build deprecated DH and DSA apps. 2020-02-14 08:40:45 +10:00
ec.c
ecparam.c
enc.c
engine.c
errstr.c
fipsinstall.c Add FIPS Self test kats for digests 2020-01-15 10:48:01 +10:00
gendsa.c Apps: don't build deprecated DH and DSA apps. 2020-02-14 08:40:45 +10:00
genpkey.c
genrsa.c Deprecate the low level RSA functions. 2020-02-20 18:58:40 +10:00
info.c
kdf.c
list.c Update command list 2020-02-06 16:46:08 +01:00
mac.c
nseq.c Fix coverity issues CID 1457745...1457752, 1457853, 1457854 2020-02-04 13:50:51 +10:00
ocsp.c Generalize the HTTP client so far implemented mostly in crypto/ocsp/ocsp_ht.c 2020-02-10 16:49:37 +01:00
openssl-vms.cnf
openssl.c app: add a deprecation warning to all deprecated commands. 2020-02-12 08:52:42 +10:00
openssl.cnf
passwd.c Deprecate the low level DES functions. 2020-01-25 09:30:59 +10:00
pca-cert.srl
pca-key.pem
pca-req.pem
pkcs7.c
pkcs8.c
pkcs12.c Fix coverity issues CID 1457745...1457752, 1457853, 1457854 2020-02-04 13:50:51 +10:00
pkey.c pkey: additional EC related options 2020-02-21 22:55:13 +10:00
pkeyparam.c Deprecate EC command line apps. 2020-02-18 19:53:52 +10:00
pkeyutl.c Fix coverity issues 2020-02-14 07:28:46 +10:00
prime.c
privkey.pem
progs.c Deprecate the low level RSA functions. 2020-02-20 18:58:40 +10:00
progs.h
progs.pl Deprecate the low level Diffie-Hellman functions. 2020-02-20 19:04:57 +10:00
provider.c
rand.c
rehash.c
req.c Adapt some 'openssl' commands for SM2 changes. 2020-02-02 12:06:39 +01:00
req.pem
rsa8192.pem
rsa.c Deprecate the low level RSA functions. 2020-02-20 18:58:40 +10:00
rsautl.c Deprecate the low level RSA functions. 2020-02-20 18:58:40 +10:00
s512-key.pem
s512-req.pem
s1024key.pem
s1024req.pem
s_client.c Generalize the HTTP client so far implemented mostly in crypto/ocsp/ocsp_ht.c 2020-02-10 16:49:37 +01:00
s_server.c Generalize the HTTP client so far implemented mostly in crypto/ocsp/ocsp_ht.c 2020-02-10 16:49:37 +01:00
s_time.c Document most missing options 2020-01-29 18:42:31 +01: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
smime.c
speed.c Deprecate the low level RSA functions. 2020-02-20 18:58:40 +10:00
spkac.c
srp.c
storeutl.c
testCA.pem
testdsa.h
testrsa.h
timeouts.h
ts.c
tsget.in
verify.c
version.c Deprecate the low level DES functions. 2020-01-25 09:30:59 +10:00
vms_decc_init.c
x509.c apps x509: restrict CAkeyform option to OPT_FMT_PDE 2020-02-26 17:23:53 +01:00