bftest.c: Remove old workaround.
ui_openssl.c: cleanup.
Include necessary headers.