Skip to content
Commit d4c3bdb0 authored by Bastian Germann's avatar Bastian Germann Committed by Tomas Mraz
Browse files

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 0ab6fc79 ("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: default avatarTorben Hohn <torben.hohn@linutronix.de>
Signed-off-by: default avatarTorben Hohn <torben.hohn@linutronix.de>
Signed-off-by: default avatarBastian Germann <bage@linutronix.de>

Reviewed-by: default avatarMatthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Reviewed-by: default avatarTomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/11085)
parent 38e6c490
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment