diff options
Diffstat (limited to 'src/lib/libcrypto/ui/ui_lib.c')
| -rw-r--r-- | src/lib/libcrypto/ui/ui_lib.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/libcrypto/ui/ui_lib.c b/src/lib/libcrypto/ui/ui_lib.c index 8ad5580261..06b29b8cee 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.33 2018/05/19 11:03:33 tb Exp $ */ | 1 | /* $OpenBSD: ui_lib.c,v 1.34 2018/06/02 04:45:21 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 | */ |
| @@ -666,7 +666,7 @@ UI_method_set_prompt_constructor(UI_METHOD *method, | |||
| 666 | } | 666 | } |
| 667 | 667 | ||
| 668 | int | 668 | int |
| 669 | (*UI_method_get_opener(UI_METHOD * method))(UI *) | 669 | (*UI_method_get_opener(const UI_METHOD * method))(UI *) |
| 670 | { | 670 | { |
| 671 | if (method) | 671 | if (method) |
| 672 | return method->ui_open_session; | 672 | return method->ui_open_session; |
| @@ -675,7 +675,7 @@ int | |||
| 675 | } | 675 | } |
| 676 | 676 | ||
| 677 | int | 677 | int |
| 678 | (*UI_method_get_writer(UI_METHOD *method))(UI *, UI_STRING *) | 678 | (*UI_method_get_writer(const UI_METHOD *method))(UI *, UI_STRING *) |
| 679 | { | 679 | { |
| 680 | if (method) | 680 | if (method) |
| 681 | return method->ui_write_string; | 681 | return method->ui_write_string; |
| @@ -684,7 +684,7 @@ int | |||
| 684 | } | 684 | } |
| 685 | 685 | ||
| 686 | int | 686 | int |
| 687 | (*UI_method_get_flusher(UI_METHOD *method)) (UI *) | 687 | (*UI_method_get_flusher(const UI_METHOD *method)) (UI *) |
| 688 | { | 688 | { |
| 689 | if (method) | 689 | if (method) |
| 690 | return method->ui_flush; | 690 | return method->ui_flush; |
| @@ -693,7 +693,7 @@ int | |||
| 693 | } | 693 | } |
| 694 | 694 | ||
| 695 | int | 695 | int |
| 696 | (*UI_method_get_reader(UI_METHOD *method))(UI *, UI_STRING *) | 696 | (*UI_method_get_reader(const UI_METHOD *method))(UI *, UI_STRING *) |
| 697 | { | 697 | { |
| 698 | if (method) | 698 | if (method) |
| 699 | return method->ui_read_string; | 699 | return method->ui_read_string; |
| @@ -702,7 +702,7 @@ int | |||
| 702 | } | 702 | } |
| 703 | 703 | ||
| 704 | int | 704 | int |
| 705 | (*UI_method_get_closer(UI_METHOD *method))(UI *) | 705 | (*UI_method_get_closer(const UI_METHOD *method))(UI *) |
| 706 | { | 706 | { |
| 707 | if (method) | 707 | if (method) |
| 708 | return method->ui_close_session; | 708 | return method->ui_close_session; |
| @@ -711,7 +711,7 @@ int | |||
| 711 | } | 711 | } |
| 712 | 712 | ||
| 713 | char * | 713 | char * |
| 714 | (*UI_method_get_prompt_constructor(UI_METHOD *method))(UI *, const char *, | 714 | (*UI_method_get_prompt_constructor(const UI_METHOD *method))(UI *, const char *, |
| 715 | const char *) | 715 | const char *) |
| 716 | { | 716 | { |
| 717 | if (method) | 717 | if (method) |
