[JDEV] Possible Fix for SSL Woes

temas temas at box5.net
Wed May 9 15:47:08 CDT 2001


I was helping reatmon fix his server for SSL usage and it turns out he
had the same error as everyone else, so I poked it a bit and behold I
found an answer.

Line 168 of mio_ssl.c (jabberd directory)

Change:

if(SSL_accept(ssl) <= 0)

to

if(SSL_accept(ssl) < 0)

I guess the <= 0 was from my usage of 0.9.6 and newer versions, the
problem crept in from 0.9.5 versions.  It probably should be just a < 0
scenario anyway.  Please let me know if this works.

--temas




More information about the JDev mailing list