Net::SSLeay error when using SSH on AnyEvent::Handle

Marc Lehmann schmorp at schmorp.de
Tue Nov 23 21:57:48 CET 2010


On Tue, Nov 23, 2010 at 11:12:59AM -0300, José Micó <jose.mico at gmail.com> wrote:
> At least since AE 4, I've got an error when using SSH on AnyEvent::Handle:

What does it mean to use SSH on anyevent::handle?

>     Not enough arguments for Net::SSLeay::CTX_set_default_passwd_cb
> at /home/jose/trunk/lib/AnyEvent/TLS.pm line 859, near "})"
>     Compilation failed in require at
> /home/jose/trunk/lib/AnyEvent/Handle.pm line 2094.
> 
> So I've added an undef parameter to CTX_set_default_passwd_cb, and
> SSL works perfectly :-)

With your version of Net::SSLeay, it probably only leaks, with others,
this will corrupt memory.

What version of Net::SSLeay is this? chances are, a newer one will work
(unless they fucked ti up majorly in a newer release).

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      schmorp at schmorp.de
      -=====/_/_//_/\_,_/ /_/\_\



More information about the anyevent mailing list