summaryrefslogtreecommitdiffstats
path: root/apps/include
diff options
context:
space:
mode:
authorPhilip Prindeville <philipp@redfish-solutions.com>2021-12-21 22:00:38 -0700
committerTomas Mraz <tomas@openssl.org>2022-01-21 15:44:28 +0100
commite1cd94f2dca4056ce042c62b89c468dffc088033 (patch)
treeee3ca7b476be8d96f92109f03c419b9fd0d11b27 /apps/include
parent8c2e588bcf0de61880ec8a956ef57ad6b8a50163 (diff)
Standardize progress callback for dhparam, dsaparam, etc.
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com> Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/17359)
Diffstat (limited to 'apps/include')
-rw-r--r--apps/include/apps.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/include/apps.h b/apps/include/apps.h
index f06d01cd37..b6dbe74fa9 100644
--- a/apps/include/apps.h
+++ b/apps/include/apps.h
@@ -94,6 +94,9 @@ typedef struct args_st {
/* We need both wrap and the "real" function because libcrypto uses both. */
int wrap_password_callback(char *buf, int bufsiz, int verify, void *cb_data);
+/* progress callback for dsaparam, dhparam, req, genpkey, etc. */
+int progress_cb(EVP_PKEY_CTX *ctx);
+
int chopup_args(ARGS *arg, char *buf);
void dump_cert_text(BIO *out, X509 *x);
void print_name(BIO *out, const char *title, const X509_NAME *nm);