diff options
author | jmc <> | 2016-12-02 19:28:41 +0000 |
---|---|---|
committer | jmc <> | 2016-12-02 19:28:41 +0000 |
commit | 92e3251f85c680232fbb1ad5808ec9e7937e6de0 (patch) | |
tree | 152239405c56b48f3cd636b9eaab6631af067773 /src/lib/libcrypto/man/UI_new.3 | |
parent | edeca41299a79a482a3b568a3315d09a7684f347 (diff) | |
download | openbsd-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.3 | 17 |
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 |
184 | UI stands for User Interface, and is general purpose set of routines | 183 | UI stands for User Interface, and is a general purpose set of routines |
185 | to prompt the user for text-based information. | 184 | to prompt the user for text-based information. |
186 | Through user-written methods (see | 185 | Through 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 | |||
269 | a password, and to verify a password (i.e. having the user enter | 268 | a password, and to verify a password (i.e. having the user enter |
270 | it twice and check that the same string was entered twice). | 269 | it twice and check that the same string was entered twice). |
271 | .Fn UI_add_verify_string | 270 | .Fn UI_add_verify_string |
272 | takes and extra argument that should be a pointer to the result buffer | 271 | takes an extra argument that should be a pointer to the result buffer |
273 | of the input string that it's supposed to verify, or verification will | 272 | of the input string that it's supposed to verify, or verification will |
274 | fail. | 273 | fail. |
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 |
320 | is a helper function that can be used to create a prompt from two pieces | 319 | is a helper function that can be used to create a prompt from two pieces |
321 | of information: an description and a name. | 320 | of information: a description and a name. |
322 | The default constructor (if there is none provided by the method used) | 321 | The default constructor (if there is none provided by the method used) |
323 | creates a string "Enter | 322 | creates 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 |
333 | adds a piece of memory for the method to use at any time. | 332 | adds a piece of memory for the method to use at any time. |
334 | The builtin UI method doesn't care about this info. | 333 | The builtin UI method doesn't care about this info. |
335 | Note that several calls to this function doesn't add data, it replaces | 334 | Note that several calls to this function doesn't add data - |
336 | the previous blob with the one given as argument. | 335 | the 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 |
339 | retrieves the data that has last been given to the | 338 | retrieves the data that has last been given to the |