Add a test for the UI API
authorRichard Levitte <levitte@openssl.org>
Wed, 7 Dec 2016 21:44:47 +0000 (22:44 +0100)
committerRichard Levitte <levitte@openssl.org>
Wed, 7 Dec 2016 23:34:47 +0000 (00:34 +0100)
commit17ac8eaf611b588cca251ba63b187e7d9c7edb83
tree4450a94a701348a689a312125d91309cd851105f
parent0a687ab0a92d2d68289364a6e232028c229f44bb
Add a test for the UI API

The best way to test the UI interface is currently by using an openssl
command that uses password_callback.  The only one that does this is
'genrsa'.
Since password_callback uses a UI method derived from UI_OpenSSL(), it
ensures that one gets tested well enough as well.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2040)
test/recipes/03-test_ui.t [new file with mode: 0644]