 and prompting and returns the final status, which is -2 on out-of-band events (Interrupt, Cancel, ...), -1 on error and 0 on success.</p>

<p>UI_ctrl() adds extra control for the application author. For now, it understands two commands: <b>UI_CTRL_PRINT_ERRORS</b>, which makes UI_process() print the OpenSSL error stack as part of processing the UI, and <b>UI_CTRL_IS_REDOABLE</b>, which returns a flag saying if the used UI can be used again or not.</p>

<p>UI_set_default_method() changes the default UI meth