Page 1 of 1

Game 2.4.2 OpenSSL Compatibility

Posted: Fri Jan 02, 2015 10:00 pm
by zel
Tried compiling from source on Ubuntu and got a compile error referencing SSLv2_client_method() in ssluse.c.

I was able to get around this by using:

Code: Select all

./configure --without-ssl

Re: Game 2.4.2 OpenSSL Compatibility

Posted: Fri Jan 02, 2015 10:22 pm
by blast
Did you follow the instructions in the README.Linux file? Which version of Ubuntu is this?

Re: Game 2.4.2 OpenSSL Compatibility

Posted: Tue Jan 20, 2015 12:00 am
by zel
@Blast:

I did follow instruction in README.Linux. I am running

Code: Select all

Ubuntu 12.04 LTS
I said in my previous post that compiling using --without-ssl flag worked - not so. Compiled, but I couldn't connect properly to the list or authentication servers.

The change I ended up making was to a switch block in /src/other/curl/lib/ssluse.c, beginning about line 1443, my change about line 1455:

Code: Select all

  case CURL_SSLVERSION_SSLv2:
    /* HERE! I substituted SSLv23_client_method() in place of SSLv2_client_method() */
    req_method = SSLv23_client_method();
    use_sni(FALSE);
    break;

Re: Game 2.4.2 OpenSSL Compatibility

Posted: Tue Jan 20, 2015 1:45 am
by blast
If you installed the libraries in the README.Linux and then ran ./configure, it shouldn't be using much of anything from src/other/ at all as it should be using system-level libraries. The only one it should still use is src/other/regex/.