summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ui/ui_openssl.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/libcrypto/ui/ui_openssl.c6
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);
153static int noecho_console(UI *ui); 153static int noecho_console(UI *ui);
154static int close_console(UI *ui); 154static int close_console(UI *ui);
155 155
156static UI_METHOD ui_openssl = { 156static 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 */
165UI_METHOD * 165const UI_METHOD *
166UI_OpenSSL(void) 166UI_OpenSSL(void)
167{ 167{
168 return &ui_openssl; 168 return &ui_openssl;