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 <richard@levitte.org>
Thu, 8 Dec 2016 12:32:47 +0000 (13:32 +0100)
commitb1bbee13d9f4e55a8f5592c417dd336012cbeebe
treed8394d488a0b7aa6d1fb92e91b052b95dc8719df
parentaff927e84c3bce5b7ebc2cc72f99a571ea89c2b1
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)
(cherry picked from commit 17ac8eaf611b588cca251ba63b187e7d9c7edb83)
test/recipes/03-test_ui.t [new file with mode: 0644]