summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libcrypto/man/UI_new.326
1 files changed, 21 insertions, 5 deletions
diff --git a/src/lib/libcrypto/man/UI_new.3 b/src/lib/libcrypto/man/UI_new.3
index ab7dfb36ec..d711359196 100644
--- a/src/lib/libcrypto/man/UI_new.3
+++ b/src/lib/libcrypto/man/UI_new.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: UI_new.3,v 1.10 2020/06/19 17:17:13 schwarze Exp $ 1.\" $OpenBSD: UI_new.3,v 1.11 2022/12/17 22:23:31 tb Exp $
2.\" full merge up to: OpenSSL 78b19e90 Jan 11 00:12:01 2017 +0100 2.\" full merge up to: OpenSSL 78b19e90 Jan 11 00:12:01 2017 +0100
3.\" selective merge up to: OpenSSL 61f805c1 Jan 16 01:01:46 2018 +0800 3.\" selective merge up to: OpenSSL 61f805c1 Jan 16 01:01:46 2018 +0800
4.\" 4.\"
@@ -49,7 +49,7 @@
49.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 49.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
50.\" OF THE POSSIBILITY OF SUCH DAMAGE. 50.\" OF THE POSSIBILITY OF SUCH DAMAGE.
51.\" 51.\"
52.Dd $Mdocdate: June 19 2020 $ 52.Dd $Mdocdate: December 17 2022 $
53.Dt UI_NEW 3 53.Dt UI_NEW 3
54.Os 54.Os
55.Sh NAME 55.Sh NAME
@@ -76,7 +76,8 @@
76.Nm UI_get_default_method , 76.Nm UI_get_default_method ,
77.Nm UI_get_method , 77.Nm UI_get_method ,
78.Nm UI_set_method , 78.Nm UI_set_method ,
79.Nm UI_OpenSSL 79.Nm UI_OpenSSL ,
80.Nm UI_null
80.Nd New User Interface 81.Nd New User Interface
81.Sh SYNOPSIS 82.Sh SYNOPSIS
82.In openssl/ui.h 83.In openssl/ui.h
@@ -226,6 +227,10 @@
226.Fo UI_OpenSSL 227.Fo UI_OpenSSL
227.Fa void 228.Fa void
228.Fc 229.Fc
230.Ft const UI_METHOD *
231.Fo UI_null
232.Fa void
233.Fc
229.Sh DESCRIPTION 234.Sh DESCRIPTION
230UI stands for User Interface, and is a general purpose set of routines 235UI stands for User Interface, and is a general purpose set of routines
231to prompt the user for text-based information. 236to prompt the user for text-based information.
@@ -298,6 +303,12 @@ See further on).
298This method is the most machine/OS dependent part of OpenSSL and 303This method is the most machine/OS dependent part of OpenSSL and
299normally generates the most problems when porting. 304normally generates the most problems when porting.
300.Pp 305.Pp
306.Fn UI_null
307returns a UI method that does nothing.
308Its use is to avoid getting internal defaults for passed
309.Vt UI_METHOD
310pointers.
311.Pp
301.Fn UI_free 312.Fn UI_free
302removes 313removes
303.Fa ui 314.Fa ui
@@ -478,9 +489,10 @@ returns 0 on success or a negative value on error.
478.Fn UI_ctrl 489.Fn UI_ctrl
479returns a mask on success or \-1 on error. 490returns a mask on success or \-1 on error.
480.Pp 491.Pp
481.Fn UI_get_default_method 492.Fn UI_get_default_method ,
482and
483.Fn UI_OpenSSL 493.Fn UI_OpenSSL
494and
495.Fn UI_null
484always return a pointer to a valid 496always return a pointer to a valid
485.Vt UI_METHOD 497.Vt UI_METHOD
486structure. 498structure.
@@ -509,6 +521,10 @@ argument.
509These functions first appeared in OpenSSL 0.9.7 521These functions first appeared in OpenSSL 0.9.7
510and have been available since 522and have been available since
511.Ox 3.2 . 523.Ox 3.2 .
524.Pp
525.Fn UI_null
526first appeared in OpenSSL 1.1.1 and has been available since
527.Ox 7.3 .
512.Sh AUTHORS 528.Sh AUTHORS
513.An Richard Levitte Aq Mt richard@levitte.org 529.An Richard Levitte Aq Mt richard@levitte.org
514for the OpenSSL project. 530for the OpenSSL project.