Return to apps_posix.c CVS log | Up to [local] / src / usr.bin / openssl |
version 1.1, 2014/12/03 22:16:02 | version 1.2, 2015/09/13 12:41:01 | ||
---|---|---|---|
|
|
||
return (ret); | return (ret); | ||
} | } | ||
int | |||
setup_ui(void) | |||
{ | |||
ui_method = UI_create_method("OpenSSL application user interface"); | |||
UI_method_set_opener(ui_method, ui_open); | |||
UI_method_set_reader(ui_method, ui_read); | |||
UI_method_set_writer(ui_method, ui_write); | |||
UI_method_set_closer(ui_method, ui_close); | |||
return 0; | |||
} | |||
void | |||
destroy_ui(void) | |||
{ | |||
if (ui_method) { | |||
UI_destroy_method(ui_method); | |||
ui_method = NULL; | |||
} | |||
} |