From ccc254e9a415f1ef73ddc682ec510e7dd03b815d Mon Sep 17 00:00:00 2001 From: Theo Buehler Date: Sun, 9 Mar 2025 11:31:39 -0600 Subject: Fix UI_OpenSSL for Windows --- crypto/compat/ui_openssl_win.c | 4 ++-- 1 file 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); static int noecho_console(UI *ui); static int close_console(UI *ui); -static UI_METHOD ui_openssl = { +static const UI_METHOD ui_openssl = { .name = "OpenSSL default user interface", .ui_open_session = open_console, .ui_write_string = write_string, @@ -155,7 +155,7 @@ static UI_METHOD ui_openssl = { }; /* The method with all the built-in thingies */ -UI_METHOD * +const UI_METHOD * UI_OpenSSL(void) { return &ui_openssl; -- cgit v1.2.3-55-g6feb