[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: Windows and hidden service -- something incompatible with SSL?



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)

Attachment: pgp00018.pgp
Description: PGP signature