From 3c11bea99886b006ca499e1be6a3a17d225cedc7 Mon Sep 17 00:00:00 2001 From: erdgeist <> Date: Wed, 27 Jun 2007 21:59:32 +0000 Subject: Introducing new ssl code --- vchat-client.c | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'vchat-client.c') diff --git a/vchat-client.c b/vchat-client.c index e0fc214..56cc721 100755 --- a/vchat-client.c +++ b/vchat-client.c @@ -25,7 +25,6 @@ #include #include #include -#include #ifndef NO_LOCALE #include #endif @@ -509,15 +508,11 @@ main (int argc, char **argv) loadformats(GLOBAL_FORMAT_FILE); loadformats(getstroption (CF_FORMFILE)); - if (!getintoption(CF_USESSL)) { - setstroption(CF_SERVERHOST,"localhost"); - setstroption(CF_SERVERPORT,"2323"); - } else { - SSL_library_init (); - SSL_load_error_strings (); - } + if (!getintoption(CF_USESSL)) + setstroption(CF_SERVERPORT,"2323"); + else + setstroption(CF_SERVERPORT,"2325"); - /* install signal handler */ signal (SIGINT, cleanup); signal (SIGHUP, cleanup); -- cgit v1.2.3