summaryrefslogtreecommitdiffstats
path: root/apps/apps.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-12-06 04:17:18 +0100
committerRichard Levitte <levitte@openssl.org>2017-01-11 18:27:27 +0100
commit264b2d92511572a247ecb673d61ff385deb9eb8d (patch)
treec905b3863f2fe0d3c7ca0ef5fcafb4ab47c35d89 /apps/apps.c
parent5eeb6c6e562937dcfdd4b79619a699a118deadba (diff)
Enable apps to get a UI_METHOD for the default prompter
Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2204)
Diffstat (limited to 'apps/apps.c')
-rw-r--r--apps/apps.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/apps.c b/apps/apps.c
index d911c0f978..969b6b84ed 100644
--- a/apps/apps.c
+++ b/apps/apps.c
@@ -245,6 +245,11 @@ void destroy_ui_method(void)
ui_method = NULL;
}
}
+
+const UI_METHOD *get_ui_method(void)
+{
+ return ui_method;
+}
#endif
int password_callback(char *buf, int bufsiz, int verify, PW_CB_DATA *cb_tmp)