Fix for #937 - support dynamic crypto acceleration engines

Nick Mathewson nickm at torproject.org
Sun May 31 17:38:27 UTC 2009


On Sat, May 30, 2009 at 03:29:17PM -0700, coderman wrote:

Hi!  This looks pretty good.  Just one thing:

   +  if ((old->HardwareAccel != new_val->HardwareAccel)
   +      || (old->AccelName != new_val->AccelName)
   +      || (old->AccelDir != new_val->AccelDir)) {

In C you can't compare strings with == and !=; you need to use
strcmp().

I've added a patch to fix this up, added a changelog entry, and merged
the patch.

-- 
Nick



More information about the tor-dev mailing list