diff options
| author | tb <> | 2025-03-09 15:25:53 +0000 |
|---|---|---|
| committer | tb <> | 2025-03-09 15:25:53 +0000 |
| commit | cfae44170b6af9cf26e431260623915320aec739 (patch) | |
| tree | 55a3acf05b23f79cc31bde5751c2440a5d9fbf26 /src/lib/libcrypto/ui/ui_openssl.c | |
| parent | e2ebcd0f5102bbed8b031d5c6c85fd238c0f3599 (diff) | |
| download | openbsd-cfae44170b6af9cf26e431260623915320aec739.tar.gz openbsd-cfae44170b6af9cf26e431260623915320aec739.tar.bz2 openbsd-cfae44170b6af9cf26e431260623915320aec739.zip | |
const correct UI_OpenSSL()
ok jsing
Diffstat (limited to 'src/lib/libcrypto/ui/ui_openssl.c')
| -rw-r--r-- | src/lib/libcrypto/ui/ui_openssl.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; |
