[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Looking for config option to stop use of CryptoAPI (TSVN 1.7.1)

From: Joel Jirak <joel_at_jirak.us>
Date: Wed, 30 Nov 2011 14:51:59 -0500

>
> Crap. I thought those crashes were due to neon not being thread safe.
> But with my patch, it now should be.
>
> I'm running out of ideas, especially since I never see a crash on my
> machines, neither here at home nor in my office.
>

BTW, I _think_ the reason I see the crashes and you don't is because I
have the smart card software AND I've enabled that registry key to
disable loading the CAPI library. So, for me, SSL_CTX_new() calls
ENGINE_by_id() for the CAPI engine, which fails, so then
ENGINE_load_builtin_engines() gets called (for the second time).

I think you don't see the crashes because you don't call
ENGINE_load_builtin_engines() twice. You could force this to happen
by setting eng=NULL right after the first call to ENGINE_by_id(). I
_think_ this will cause the SSL to re-initialize all the engines,
which is safe for well-behaved engines, but not for the GOST engine.
Not 100% sure though.

Joel Jirak

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2889412

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-11-30 20:52:08 CET

This is an archived mail posted to the TortoiseSVN Users mailing list.