APPS: Add ctrl_str()-like functionality for X509 and X509_REQ
authorRichard Levitte <levitte@openssl.org>
Tue, 10 Mar 2020 22:05:09 +0000 (23:05 +0100)
committerRichard Levitte <levitte@openssl.org>
Sun, 15 Mar 2020 18:42:05 +0000 (19:42 +0100)
commitaba9bca31cc2507671e25f7ca8e642fce5e38671
tree1dcd6610e75b63febebb074923b58bd71dbb1c70
parent123c2fef14b80f26f5a8504ccf7b819c2975a6fa
APPS: Add ctrl_str()-like functionality for X509 and X509_REQ

This should really be part of libcrypto, but since this looks like
added legacy support, it's preferable to keep it in apps for now.

This allows to build functions that add user given verification
options to X509 and X509_REQ structures.

Fixes #11293

Reviewed-by: Paul Yang <kaishen.yy@antfin.com>
(Merged from https://github.com/openssl/openssl/pull/11302)
apps/include/apps.h
apps/lib/app_x509.c [new file with mode: 0644]
apps/lib/build.info
apps/req.c