Windows and hidden service -- something incompatible with SSL?

Nick Mathewson nickm at freehaven.net
Mon Aug 30 18:03:20 UTC 2004


On Sat, Aug 28, 2004 at 06:56:57AM -0700, Hideki Saito wrote:
> Hello,
> I'm actually pretty new to the list -- I was playing around with tor
> code on Windows and found out something...
> 
> I was attempting running hidden service with config file:
> HiddenServiceDir c:\\hidden
> HiddenServicePort 80 127.0.0.1:8080
> 
> I was getting error:
> Unhandled exception at 0x7c918fea in tor.exe: 0xC0000005: Access
> violation writing location 0x00000010.
> 
> So I have studied the code for a bit and found out that:
> 
> Problem on the line:   
> 	env->key = PEM_read_RSAPrivateKey(src, NULL, NULL, NULL);

Thanks; I'll check it out!

> Seems like something wrong with this call -- I haven't really stepped
> into this function as it seems like this function is provided by OpenSSL
> (it'll take forever to take OpenSSL compiled with my puny machine...)

Actually, what would be more useful is if you can give me a backtrace:
what function _called_ crypto_pk_read_private_key_from_file?  What was
the value of 'src'?


Thanks again for your help,
-- 
Nick Mathewson
(PGP key changed on 15Aug2004; see http://wangafu.net/key.txt)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 652 bytes
Desc: not available
URL: <http://lists.torproject.org/pipermail/tor-dev/attachments/20040830/94f9c447/attachment.pgp>


More information about the tor-dev mailing list