degesch: fix creation of encoding converters
This commit is contained in:
parent
d01618ceb7
commit
10f1575677
@ -3032,14 +3032,15 @@ main (int argc, char *argv[])
|
|||||||
|
|
||||||
opt_handler_free (&oh);
|
opt_handler_free (&oh);
|
||||||
|
|
||||||
struct app_context ctx;
|
|
||||||
print_status (PROGRAM_NAME " " PROGRAM_VERSION " starting");
|
print_status (PROGRAM_NAME " " PROGRAM_VERSION " starting");
|
||||||
app_context_init (&ctx);
|
|
||||||
g_ctx = &ctx;
|
|
||||||
|
|
||||||
// We only need to convert to and from the terminal encoding
|
// We only need to convert to and from the terminal encoding
|
||||||
setlocale (LC_CTYPE, "");
|
setlocale (LC_CTYPE, "");
|
||||||
|
|
||||||
|
struct app_context ctx;
|
||||||
|
app_context_init (&ctx);
|
||||||
|
g_ctx = &ctx;
|
||||||
|
|
||||||
SSL_library_init ();
|
SSL_library_init ();
|
||||||
atexit (EVP_cleanup);
|
atexit (EVP_cleanup);
|
||||||
SSL_load_error_strings ();
|
SSL_load_error_strings ();
|
||||||
|
Loading…
Reference in New Issue
Block a user