From e2751f37728059d10cda50d45e3365a1110f26ff Mon Sep 17 00:00:00 2001 From: bcook <> Date: Sun, 13 Sep 2015 12:41:01 +0000 Subject: Factor out setup_up / destroy_ui functions. This pulls out and renames setup_ui/destroy_ui so we have something that can be replaced as-needed, moving the the console setup code for Windows to app_win.c in -portable, instead of needing a local patch to enable binary console mode ui_read/write are also simplified. --- src/usr.bin/openssl/openssl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/usr.bin/openssl/openssl.c') diff --git a/src/usr.bin/openssl/openssl.c b/src/usr.bin/openssl/openssl.c index 653329f7c6..d0c0ec0551 100644 --- a/src/usr.bin/openssl/openssl.c +++ b/src/usr.bin/openssl/openssl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: openssl.c,v 1.9 2015/09/12 19:34:07 lteo Exp $ */ +/* $OpenBSD: openssl.c,v 1.10 2015/09/13 12:41:01 bcook Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -405,14 +405,14 @@ openssl_startup(void) SSL_library_init(); SSL_load_error_strings(); - setup_ui_method(); + setup_ui(); } static void openssl_shutdown(void) { CONF_modules_unload(1); - destroy_ui_method(); + destroy_ui(); OBJ_cleanup(); EVP_cleanup(); CRYPTO_cleanup_all_ex_data(); -- cgit v1.2.3-55-g6feb