summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/UI_new.3
diff options
context:
space:
mode:
authorjmc <>2016-12-02 19:28:41 +0000
committerjmc <>2016-12-02 19:28:41 +0000
commit92e3251f85c680232fbb1ad5808ec9e7937e6de0 (patch)
tree152239405c56b48f3cd636b9eaab6631af067773 /src/lib/libcrypto/man/UI_new.3
parentedeca41299a79a482a3b568a3315d09a7684f347 (diff)
downloadopenbsd-92e3251f85c680232fbb1ad5808ec9e7937e6de0.tar.gz
openbsd-92e3251f85c680232fbb1ad5808ec9e7937e6de0.tar.bz2
openbsd-92e3251f85c680232fbb1ad5808ec9e7937e6de0.zip
minor cleanup;
Diffstat (limited to 'src/lib/libcrypto/man/UI_new.3')
-rw-r--r--src/lib/libcrypto/man/UI_new.317
1 files changed, 8 insertions, 9 deletions
diff --git a/src/lib/libcrypto/man/UI_new.3 b/src/lib/libcrypto/man/UI_new.3
index 79078eb24c..a04254632b 100644
--- a/src/lib/libcrypto/man/UI_new.3
+++ b/src/lib/libcrypto/man/UI_new.3
@@ -1,6 +1,6 @@
1.\" $OpenBSD: UI_new.3,v 1.2 2016/11/06 15:52:50 jmc Exp $ 1.\" $OpenBSD: UI_new.3,v 1.3 2016/12/02 19:28:41 jmc Exp $
2.\" 2.\"
3.Dd $Mdocdate: November 6 2016 $ 3.Dd $Mdocdate: December 2 2016 $
4.Dt UI_NEW 3 4.Dt UI_NEW 3
5.Os 5.Os
6.Sh NAME 6.Sh NAME
@@ -27,8 +27,7 @@
27.Nm UI_get_default_method , 27.Nm UI_get_default_method ,
28.Nm UI_get_method , 28.Nm UI_get_method ,
29.Nm UI_set_method , 29.Nm UI_set_method ,
30.Nm UI_OpenSSL , 30.Nm UI_OpenSSL
31.Nm ERR_load_UI_strings
32.Nd New User Interface 31.Nd New User Interface
33.Sh SYNOPSIS 32.Sh SYNOPSIS
34.In openssl/ui.h 33.In openssl/ui.h
@@ -181,7 +180,7 @@
181.Fa void 180.Fa void
182.Fc 181.Fc
183.Sh DESCRIPTION 182.Sh DESCRIPTION
184UI stands for User Interface, and is general purpose set of routines 183UI stands for User Interface, and is a general purpose set of routines
185to prompt the user for text-based information. 184to prompt the user for text-based information.
186Through user-written methods (see 185Through user-written methods (see
187.Xr ui_create 3 ) , 186.Xr ui_create 3 ) ,
@@ -269,7 +268,7 @@ The given information is used to prompt for information, for example
269a password, and to verify a password (i.e. having the user enter 268a password, and to verify a password (i.e. having the user enter
270it twice and check that the same string was entered twice). 269it twice and check that the same string was entered twice).
271.Fn UI_add_verify_string 270.Fn UI_add_verify_string
272takes and extra argument that should be a pointer to the result buffer 271takes an extra argument that should be a pointer to the result buffer
273of the input string that it's supposed to verify, or verification will 272of the input string that it's supposed to verify, or verification will
274fail. 273fail.
275.Pp 274.Pp
@@ -318,7 +317,7 @@ counterparts, except that they make their own copies of all strings.
318.Pp 317.Pp
319.Fn UI_construct_prompt 318.Fn UI_construct_prompt
320is a helper function that can be used to create a prompt from two pieces 319is a helper function that can be used to create a prompt from two pieces
321of information: an description and a name. 320of information: a description and a name.
322The default constructor (if there is none provided by the method used) 321The default constructor (if there is none provided by the method used)
323creates a string "Enter 322creates a string "Enter
324.Em description 323.Em description
@@ -332,8 +331,8 @@ other method functions.
332.Fn UI_add_user_data 331.Fn UI_add_user_data
333adds a piece of memory for the method to use at any time. 332adds a piece of memory for the method to use at any time.
334The builtin UI method doesn't care about this info. 333The builtin UI method doesn't care about this info.
335Note that several calls to this function doesn't add data, it replaces 334Note that several calls to this function doesn't add data -
336the previous blob with the one given as argument. 335the previous blob is replaced with the one given as argument.
337.Pp 336.Pp
338.Fn UI_get0_user_data 337.Fn UI_get0_user_data
339retrieves the data that has last been given to the 338retrieves the data that has last been given to the