Enable apps to get a UI_METHOD for the default prompter
[openssl.git] / apps / apps.c
index d911c0f9785d24330b8e21d0584197ec3ca00313..969b6b84ed6ad4a2e2caf6075559e33aa967cbc6 100644 (file)
@@ -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)