summaryrefslogtreecommitdiffstats
path: root/apps/include
diff options
context:
space:
mode:
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>2021-07-06 12:28:22 +0200
committerDr. David von Oheimb <dev@ddvo.net>2022-09-20 20:59:50 +0200
commit200d844782956b4c6db9bdd92a53113d9c2dc3c7 (patch)
tree4243506395c1ceba9fc91335c916e02e64650c3a /apps/include
parent51024f75591d00a52dd867906a763b4e2107e288 (diff)
APPS: Move load_csr_autofmt() from apps/cmp.c to apps.c and use it also for apps, too
Also add related references to FR #15725. Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com> (Merged from https://github.com/openssl/openssl/pull/18900)
Diffstat (limited to 'apps/include')
-rw-r--r--apps/include/apps.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/include/apps.h b/apps/include/apps.h
index 44892dc3e5..335e80775c 100644
--- a/apps/include/apps.h
+++ b/apps/include/apps.h
@@ -114,6 +114,7 @@ char *get_passwd(const char *pass, const char *desc);
int app_passwd(const char *arg1, const char *arg2, char **pass1, char **pass2);
int add_oid_section(CONF *conf);
X509_REQ *load_csr(const char *file, int format, const char *desc);
+X509_REQ *load_csr_autofmt(const char *infile, int format, const char *desc);
X509 *load_cert_pass(const char *uri, int format, int maybe_stdin,
const char *pass, const char *desc);
#define load_cert(uri, format, desc) load_cert_pass(uri, format, 1, NULL, desc)