diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libcrypto/ui/ui.h | 4 | ||||
| -rw-r--r-- | src/lib/libcrypto/ui/ui_openssl.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/libcrypto/ui/ui.h b/src/lib/libcrypto/ui/ui.h index e297e9fbaf..cc400c2d5a 100644 --- a/src/lib/libcrypto/ui/ui.h +++ b/src/lib/libcrypto/ui/ui.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ui.h,v 1.19 2024/08/31 10:28:03 tb Exp $ */ | 1 | /* $OpenBSD: ui.h,v 1.20 2025/03/09 15:25:53 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 | */ |
| @@ -253,7 +253,7 @@ const UI_METHOD *UI_get_method(UI *ui); | |||
| 253 | const UI_METHOD *UI_set_method(UI *ui, const UI_METHOD *meth); | 253 | const UI_METHOD *UI_set_method(UI *ui, const UI_METHOD *meth); |
| 254 | 254 | ||
| 255 | /* The method with all the built-in thingies */ | 255 | /* The method with all the built-in thingies */ |
| 256 | UI_METHOD *UI_OpenSSL(void); | 256 | const UI_METHOD *UI_OpenSSL(void); |
| 257 | 257 | ||
| 258 | const UI_METHOD *UI_null(void); | 258 | const UI_METHOD *UI_null(void); |
| 259 | 259 | ||
diff --git a/src/lib/libcrypto/ui/ui_openssl.c b/src/lib/libcrypto/ui/ui_openssl.c index 0b91700571..3ace3a4e75 100644 --- a/src/lib/libcrypto/ui/ui_openssl.c +++ b/src/lib/libcrypto/ui/ui_openssl.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ui_openssl.c,v 1.28 2023/02/16 08:38:17 tb Exp $ */ | 1 | /* $OpenBSD: ui_openssl.c,v 1.29 2025/03/09 15:25:53 tb Exp $ */ |
| 2 | /* Written by Richard Levitte (richard@levitte.org) and others | 2 | /* Written by Richard Levitte (richard@levitte.org) and others |
| 3 | * for the OpenSSL project 2001. | 3 | * for the OpenSSL project 2001. |
| 4 | */ | 4 | */ |
| @@ -153,7 +153,7 @@ static int echo_console(UI *ui); | |||
| 153 | static int noecho_console(UI *ui); | 153 | static int noecho_console(UI *ui); |
| 154 | static int close_console(UI *ui); | 154 | static int close_console(UI *ui); |
| 155 | 155 | ||
| 156 | static UI_METHOD ui_openssl = { | 156 | static const UI_METHOD ui_openssl = { |
| 157 | .name = "OpenSSL default user interface", | 157 | .name = "OpenSSL default user interface", |
| 158 | .ui_open_session = open_console, | 158 | .ui_open_session = open_console, |
| 159 | .ui_write_string = write_string, | 159 | .ui_write_string = write_string, |
| @@ -162,7 +162,7 @@ static UI_METHOD ui_openssl = { | |||
| 162 | }; | 162 | }; |
| 163 | 163 | ||
| 164 | /* The method with all the built-in thingies */ | 164 | /* The method with all the built-in thingies */ |
| 165 | UI_METHOD * | 165 | const UI_METHOD * |
| 166 | UI_OpenSSL(void) | 166 | UI_OpenSSL(void) |
| 167 | { | 167 | { |
| 168 | return &ui_openssl; | 168 | return &ui_openssl; |
