diff options
Diffstat (limited to 'src/lib/libcrypto/ui')
-rw-r--r-- | src/lib/libcrypto/ui/ui_openssl.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/lib/libcrypto/ui/ui_openssl.c b/src/lib/libcrypto/ui/ui_openssl.c index d3be332f19..3b79ecaf02 100644 --- a/src/lib/libcrypto/ui/ui_openssl.c +++ b/src/lib/libcrypto/ui/ui_openssl.c | |||
@@ -157,13 +157,11 @@ static int noecho_console(UI *ui); | |||
157 | static int close_console(UI *ui); | 157 | static int close_console(UI *ui); |
158 | 158 | ||
159 | static UI_METHOD ui_openssl = { | 159 | static UI_METHOD ui_openssl = { |
160 | "OpenSSL default user interface", | 160 | .name = "OpenSSL default user interface", |
161 | open_console, | 161 | .ui_open_session = open_console, |
162 | write_string, | 162 | .ui_write_string = write_string, |
163 | NULL, /* No flusher is needed for command lines */ | 163 | .ui_read_string = read_string, |
164 | read_string, | 164 | .ui_close_session = close_console, |
165 | close_console, | ||
166 | NULL | ||
167 | }; | 165 | }; |
168 | 166 | ||
169 | /* The method with all the built-in thingies */ | 167 | /* The method with all the built-in thingies */ |