diff options
| author | tb <> | 2018-05-19 11:03:33 +0000 |
|---|---|---|
| committer | tb <> | 2018-05-19 11:03:33 +0000 |
| commit | 37e13e53fe85bb85974439fc82daff312864ba70 (patch) | |
| tree | 57e2767919f269bb11cf55981bc9a0974af53a64 /src/lib/libcrypto/ui/ui_lib.c | |
| parent | 554519e920a1c07a8209f40cd835e4e692ef7627 (diff) | |
| download | openbsd-37e13e53fe85bb85974439fc82daff312864ba70.tar.gz openbsd-37e13e53fe85bb85974439fc82daff312864ba70.tar.bz2 openbsd-37e13e53fe85bb85974439fc82daff312864ba70.zip | |
UI_METHOD *UI_create_method(const char *name).
^^^^^
tested in a bulk build by sthen
ok jsing
Diffstat (limited to 'src/lib/libcrypto/ui/ui_lib.c')
| -rw-r--r-- | src/lib/libcrypto/ui/ui_lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/ui/ui_lib.c b/src/lib/libcrypto/ui/ui_lib.c index e551030729..8ad5580261 100644 --- a/src/lib/libcrypto/ui/ui_lib.c +++ b/src/lib/libcrypto/ui/ui_lib.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ui_lib.c,v 1.32 2017/01/29 17:49:23 beck Exp $ */ | 1 | /* $OpenBSD: ui_lib.c,v 1.33 2018/05/19 11:03:33 tb Exp $ */ |
| 2 | /* Written by Richard Levitte (richard@levitte.org) for the OpenSSL | 2 | /* Written by Richard Levitte (richard@levitte.org) for the OpenSSL |
| 3 | * project 2001. | 3 | * project 2001. |
| 4 | */ | 4 | */ |
| @@ -582,7 +582,7 @@ UI_set_method(UI *ui, const UI_METHOD *meth) | |||
| 582 | 582 | ||
| 583 | 583 | ||
| 584 | UI_METHOD * | 584 | UI_METHOD * |
| 585 | UI_create_method(char *name) | 585 | UI_create_method(const char *name) |
| 586 | { | 586 | { |
| 587 | UI_METHOD *ui_method = calloc(1, sizeof(UI_METHOD)); | 587 | UI_METHOD *ui_method = calloc(1, sizeof(UI_METHOD)); |
| 588 | 588 | ||
