diff options
author | tb <> | 2022-12-17 22:23:31 +0000 |
---|---|---|
committer | tb <> | 2022-12-17 22:23:31 +0000 |
commit | 89107d2ca04da0f9ee03ed252158424abf736dda (patch) | |
tree | 6cc84bf7378158b1b5caf7711907266357e30274 | |
parent | 8e6b09175851278a9b2d2e5707ee16165c639c17 (diff) | |
download | openbsd-89107d2ca04da0f9ee03ed252158424abf736dda.tar.gz openbsd-89107d2ca04da0f9ee03ed252158424abf736dda.tar.bz2 openbsd-89107d2ca04da0f9ee03ed252158424abf736dda.zip |
Merge documentation of UI_null() from OpenSSL 1.1
jsing doesn't like it, but it's better than nothing.
ok jsing
-rw-r--r-- | src/lib/libcrypto/man/UI_new.3 | 26 |
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 |
230 | UI stands for User Interface, and is a general purpose set of routines | 235 | UI stands for User Interface, and is a general purpose set of routines |
231 | to prompt the user for text-based information. | 236 | to prompt the user for text-based information. |
@@ -298,6 +303,12 @@ See further on). | |||
298 | This method is the most machine/OS dependent part of OpenSSL and | 303 | This method is the most machine/OS dependent part of OpenSSL and |
299 | normally generates the most problems when porting. | 304 | normally generates the most problems when porting. |
300 | .Pp | 305 | .Pp |
306 | .Fn UI_null | ||
307 | returns a UI method that does nothing. | ||
308 | Its use is to avoid getting internal defaults for passed | ||
309 | .Vt UI_METHOD | ||
310 | pointers. | ||
311 | .Pp | ||
301 | .Fn UI_free | 312 | .Fn UI_free |
302 | removes | 313 | removes |
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 |
479 | returns a mask on success or \-1 on error. | 490 | returns a mask on success or \-1 on error. |
480 | .Pp | 491 | .Pp |
481 | .Fn UI_get_default_method | 492 | .Fn UI_get_default_method , |
482 | and | ||
483 | .Fn UI_OpenSSL | 493 | .Fn UI_OpenSSL |
494 | and | ||
495 | .Fn UI_null | ||
484 | always return a pointer to a valid | 496 | always return a pointer to a valid |
485 | .Vt UI_METHOD | 497 | .Vt UI_METHOD |
486 | structure. | 498 | structure. |
@@ -509,6 +521,10 @@ argument. | |||
509 | These functions first appeared in OpenSSL 0.9.7 | 521 | These functions first appeared in OpenSSL 0.9.7 |
510 | and have been available since | 522 | and have been available since |
511 | .Ox 3.2 . | 523 | .Ox 3.2 . |
524 | .Pp | ||
525 | .Fn UI_null | ||
526 | first 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 |
514 | for the OpenSSL project. | 530 | for the OpenSSL project. |