[BUG] more problems with SSL

"Oded Arbel" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Hi list

another problem with an SSL connection, is that if the socket connection
in conn_open_tcp() called from conn_open_sll() fails, it returns NULL,
but conn_open_ssl() immidietly tries to refer to it as initialized
structure - which of course causes Kannel to crash. 
conn_open_ssl() should check whether the socket was successfuly opened,
returning NULL if not, so adding this -

   if (!ret)
         return NULL;

immidietly after conn_open_tcp() will solve the problem.

--
Oded Arbel
m-Wise Inc.
[email protected]
(972)-67-340014
(972)-9-9581711 (ext: 116)

::..
"Really ??  What a coincidence, I'm shallow too!!"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.