On Tue, 23 Dec 2014 09:16:56 -0800, Nick Mathewson nickm@freehaven.net wrote:
Strange! There is code in git master that is supposed to prevent this.
Yes, I thought it had been fixed by your commit from this ticket https://trac.torproject.org/projects/tor/ticket/13325
The current Tor's "find_cipher_by_id" is supposed to avoid looking at the get_cipher_by_id field. Do you really get the same errors with master, or is the error different?
Makes no difference, same error for master branch as the rest.
latest Git - master branch - git clone https://git.torproject.org/git/tor -------------------------------------------------------------------------
# cd tor; git status On branch master Your branch is up-to-date with 'origin/master'. nothing to commit, working directory clean
# sh autogen.sh ; ./configure --with-openssl-dir=/usr/local --disable-asciidoc ; make
src/common/tortls.c: In function 'find_cipher_by_id': src/common/tortls.c:1478: error: 'SSL_METHOD' has no member named 'get_cipher_by_char' src/common/tortls.c:1484: error: 'SSL_METHOD' has no member named 'get_cipher_by_char' *** [src/common/tortls.o] Error code 1
Alpha - https://www.torproject.org/dist/tor-0.2.6.1-alpha.tar.gz ----------------------------------------------------------------
#./configure --with-openssl-dir=/usr/local --disable-asciidoc ; make
src/common/tortls.c: In function 'find_cipher_by_id': src/common/tortls.c:1478: error: 'SSL_METHOD' has no member named 'get_cipher_by_char' src/common/tortls.c:1484: error: 'SSL_METHOD' has no member named 'get_cipher_by_char' *** [src/common/tortls.o] Error code 1
Stable - https://www.torproject.org/dist/tor-0.2.5.10.tar.gz ------------------------------------------------------------
# ./configure --with-openssl-dir=/usr/local --disable-asciidoc ; make
src/common/tortls.c: In function 'find_cipher_by_id': src/common/tortls.c:1480: error: 'SSL_METHOD' has no member named 'get_cipher_by_char' src/common/tortls.c:1486: error: 'SSL_METHOD' has no member named 'get_cipher_by_char' *** [src/common/tortls.o] Error code 1