Make an attempt to fix bug 1024.
commit3e6bb050dd46491ac044808782a489bdf0c23f6d
authorKarsten Loesing <karsten.loesing@gmx.net>
Tue, 30 Jun 2009 18:35:03 +0000 (30 20:35 +0200)
committerNick Mathewson <nickm@torproject.org>
Thu, 2 Jul 2009 14:00:28 +0000 (2 10:00 -0400)
treec8967bf8b83e8a4af6a0432d4e9e4bcb7d8270aa
parent0cbc0c463bcd5f3a80fe9388f778d4b6e09e0815
Make an attempt to fix bug 1024.

The internal error "could not find intro key" occurs when we want to send
an INTRODUCE1 cell over a recently finished introduction circuit and think
we built the introduction circuit with a v2 hidden service descriptor, but
cannot find the introduction key in our descriptor.

My first guess how we can end up in this situation is that we are wrong in
thinking that we built the introduction circuit based on a v2 hidden
service descriptor. This patch checks if we have a v0 descriptor, too, and
uses that instead.
ChangeLog
src/or/rendclient.c