Add a null UI method
authorRichard Levitte <levitte@openssl.org>
Sat, 25 Feb 2017 23:17:43 +0000 (00:17 +0100)
committerRichard Levitte <levitte@openssl.org>
Sun, 26 Feb 2017 00:00:26 +0000 (01:00 +0100)
commit57d0d048a85d641181ac5aec2792109e15630f96
treedc6ef6c24bd11d6900c16a4726d663f0ff0f53f1
parentfd910ef9593d4e16dabf4686ecabb351830045b6
Add a null UI method

There are cases when, if you pass a NULL UI_METHOD, the called
function will use an internal default.  This is well and good, but
there may be cases when this is undesirable and one would rather send
in a UI that does absolutely nothing (sort of a /dev/null).  UI_null()
is the UI_METHOD for this purpose.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2744)
crypto/ui/build.info
crypto/ui/ui_null.c [new file with mode: 0644]
doc/man3/UI_new.pod
include/openssl/ui.h
util/libcrypto.num