Lines Matching defs:ui
20 #include <openssl/ui.h>
30 * Test wrapping old style PEM password callback in a UI method through the
31 * use of UI utility functions
36 UI *ui = NULL;
43 || !TEST_ptr(ui = UI_new_method(ui_method)))
46 /* The wrapper passes the UI userdata as the callback userdata param */
47 UI_add_user_data(ui, defpass);
49 if (!UI_add_input_string(ui, "prompt", UI_INPUT_FLAG_DEFAULT_PWD,
53 switch (UI_process(ui)) {
55 TEST_info("test_old: UI process interrupted or cancelled");
67 UI_free(ui);
73 /* Test of UI. This uses the UI method defined in apps/apps.c */