APPS: Move load_csr_autofmt() from apps/cmp.c to apps.c and use it also for apps...
[openssl.git] / apps / include / apps.h
index 44892dc3e56949e038a143b5c4809c5ca75b581d..335e80775ca5c3361296e69776cfdd0c6977476d 100644 (file)
@@ -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)