Commit 264b2d92 authored by Richard Levitte's avatar Richard Levitte
Browse files

Enable apps to get a UI_METHOD for the default prompter

parent 5eeb6c6e
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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)
+1 −0
Original line number Diff line number Diff line
@@ -389,6 +389,7 @@ int password_callback(char *buf, int bufsiz, int verify, PW_CB_DATA *cb_data);

int setup_ui_method(void);
void destroy_ui_method(void);
const UI_METHOD *get_ui_method(void);

int chopup_args(ARGS *arg, char *buf);
# ifdef HEADER_X509_H