diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2015-04-19 23:07:23 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2015-04-19 23:07:23 +0200 |
commit | 10f15756774d37b0f1bdeeffd8e912bd10630080 (patch) | |
tree | d983549f92d43a98f40b9cd6e481105887bccdb8 /degesch.c | |
parent | d01618ceb78a55a3f832384316b625ae613408a4 (diff) | |
download | xK-10f15756774d37b0f1bdeeffd8e912bd10630080.tar.gz xK-10f15756774d37b0f1bdeeffd8e912bd10630080.tar.xz xK-10f15756774d37b0f1bdeeffd8e912bd10630080.zip |
degesch: fix creation of encoding converters
Diffstat (limited to 'degesch.c')
-rw-r--r-- | degesch.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -3032,14 +3032,15 @@ main (int argc, char *argv[]) opt_handler_free (&oh); - struct app_context ctx; 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 setlocale (LC_CTYPE, ""); + struct app_context ctx; + app_context_init (&ctx); + g_ctx = &ctx; + SSL_library_init (); atexit (EVP_cleanup); SSL_load_error_strings (); |