commit | 264b2d92511572a247ecb673d61ff385deb9eb8d | [log] [tgz] |
---|---|---|
author | Richard Levitte <levitte@openssl.org> | Tue Dec 06 04:17:18 2016 +0100 |
committer | Richard Levitte <levitte@openssl.org> | Wed Jan 11 18:27:27 2017 +0100 |
tree | c905b3863f2fe0d3c7ca0ef5fcafb4ab47c35d89 | |
parent | 5eeb6c6e562937dcfdd4b79619a699a118deadba [diff] [blame] |
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)
diff --git a/apps/apps.c b/apps/apps.c index d911c0f..969b6b8 100644 --- a/apps/apps.c +++ b/apps/apps.c
@@ -245,6 +245,11 @@ 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)