diff options
| author | Theo Buehler <tb@openbsd.org> | 2025-03-09 11:31:39 -0600 |
|---|---|---|
| committer | Theo Buehler <tb@openbsd.org> | 2025-03-09 11:31:39 -0600 |
| commit | ccc254e9a415f1ef73ddc682ec510e7dd03b815d (patch) | |
| tree | 280132479e56ac5c1afcbafa54e470411670a3fd | |
| parent | 6036e7ee86d21a7b7257ace02fa5c747aab000ea (diff) | |
| download | portable-ccc254e9a415f1ef73ddc682ec510e7dd03b815d.tar.gz portable-ccc254e9a415f1ef73ddc682ec510e7dd03b815d.tar.bz2 portable-ccc254e9a415f1ef73ddc682ec510e7dd03b815d.zip | |
Fix UI_OpenSSL for Windows
| -rw-r--r-- | crypto/compat/ui_openssl_win.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/compat/ui_openssl_win.c b/crypto/compat/ui_openssl_win.c index 09705e4..4ae2c5d 100644 --- a/crypto/compat/ui_openssl_win.c +++ b/crypto/compat/ui_openssl_win.c | |||
| @@ -146,7 +146,7 @@ static int echo_console(UI *ui); | |||
| 146 | static int noecho_console(UI *ui); | 146 | static int noecho_console(UI *ui); |
| 147 | static int close_console(UI *ui); | 147 | static int close_console(UI *ui); |
| 148 | 148 | ||
| 149 | static UI_METHOD ui_openssl = { | 149 | static const UI_METHOD ui_openssl = { |
| 150 | .name = "OpenSSL default user interface", | 150 | .name = "OpenSSL default user interface", |
| 151 | .ui_open_session = open_console, | 151 | .ui_open_session = open_console, |
| 152 | .ui_write_string = write_string, | 152 | .ui_write_string = write_string, |
| @@ -155,7 +155,7 @@ static UI_METHOD ui_openssl = { | |||
| 155 | }; | 155 | }; |
| 156 | 156 | ||
| 157 | /* The method with all the built-in thingies */ | 157 | /* The method with all the built-in thingies */ |
| 158 | UI_METHOD * | 158 | const UI_METHOD * |
| 159 | UI_OpenSSL(void) | 159 | UI_OpenSSL(void) |
| 160 | { | 160 | { |
| 161 | return &ui_openssl; | 161 | return &ui_openssl; |
