0.2.1.0-alpha-dev does not compile on Dapper amd64
Compiling 0.2.1.0-alpha-dev (r13786) exits with the following error:
tortls.c: In function ‘tor_tls_new’: tortls.c:738: error: ‘TLS1_TXT_ECDHE_ECDSA_WITH_AES_256_CBC_SHA’ undeclared (first use in this function)
This happens only on Dapper amd64 while compiling on Dapper x86 and Gutsy x86 works fine.
On both machines, openssl version and ciphers are as follows:
/usr/local/ssl/bin/openssl version OpenSSL 0.9.8g 19 Oct 2007
/usr/local/ssl/bin/openssl ciphers (manually inserted line breaks) DHE-RSA-AES256-SHA:DHE-DSS-AES256-SHA:AES256-SHA:EDH-RSA-DES-CBC3-SHA: EDH-DSS-DES-CBC3-SHA:DES-CBC3-SHA:DES-CBC3-MD5:DHE-RSA-AES128-SHA: DHE-DSS-AES128-SHA:AES128-SHA:IDEA-CBC-SHA:IDEA-CBC-MD5:RC2-CBC-MD5: RC4-SHA:RC4-MD5:RC4-MD5:EDH-RSA-DES-CBC-SHA:EDH-DSS-DES-CBC-SHA: DES-CBC-SHA:DES-CBC-MD5:EXP-EDH-RSA-DES-CBC-SHA:EXP-EDH-DSS-DES-CBC-SHA: EXP-DES-CBC-SHA:EXP-RC2-CBC-MD5:EXP-RC2-CBC-MD5:EXP-RC4-MD5:EXP-RC4-MD5
The libevent version is in both cases 1.3e.
Configuration is done with:
./configure --with-libevent-dir=/usr/local/lib/ --with-openssl-dir=/usr/local/ssl/lib/
After commenting out the following ciphers from CLIENT_CIPHER_LIST in tortls.c, compilation works again:
TLS1_TXT_ECDHE_ECDSA_WITH_AES_256_CBC_SHA TLS1_TXT_ECDHE_RSA_WITH_AES_256_CBC_SHA TLS1_TXT_ECDHE_ECDSA_WITH_RC4_128_SHA TLS1_TXT_ECDHE_RSA_WITH_RC4_128_SHA TLS1_TXT_ECDHE_ECDSA_WITH_DES_192_CBC3_SHA TLS1_TXT_ECDHE_RSA_WITH_DES_192_CBC3_SHA
[Automatically added by flyspray2trac: Operating System: Other Linux]