hi,

I want to know whether sofia-sip 1.12.6 has already supported TLS under windows 
 since i've found the same question in mail list, or it justs works under linux 
depending on OpenSSL ?


thanks  

Liang

---------------------------------------------------------------------------------------------
Subject: Re: Sofia-sip TLS under windows
List-id: <sofia-sip-devel.lists.sourceforge.net>

On 11/17/06, Chung Pak Lai <ChungLai-JdF9NHI6wiJWk0Htik3J/[EMAIL PROTECTED]> 
wrote:
> Does Sofia-sip support TLS under windows? I was trying to enable TLS in
> sofia-sip by activating the following settings in config.h:
>
> #define HAVE_TLS 1
> #define HAVE_OPENSSL 1
> #define HAVE_OPENSSL_TLS_H 1
>
> I also found that the VC6 dsp does not include "tport_tls.c", "tport_tls.h"
> and "tport_type_tls.c" so I added those into the project. However, when I
> compile tport_tls.c, it complaints about :
>
> \sofia-sip-1.12.3\libsofia-sip-ua\tport\tport_tls.c(42) :
> fatal error C1083: Cannot open include file: 'sys/time.h': No such file or
> directory
>
> Then I tried to comment #include <sys/time.h> see what will happen, the next
> thing it complaints is:
>
> \sofia-sip-1.12.3\libsofia-sip-ua\tport\tport_tls.c(60) :
> fatal error C1083: Cannot open include file: 'poll.h': No such file or
> directory
>
> Any idea?

Our TLS support depends on OpenSSL. I think it has never been compiled
on Windows because we have had found not a decent OpenSSL port there.

It might be nicer to load tls and openssl on demand.

Please feel free to hack around if you have openssl, e.g., put
HAVE_SIGPIPE around signal() calls. I don't think sys/time.h is
actually used for anything.

-- 
Pekka.Pessi mail at nokia.com






chen.liang.sip
2007-07-11
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to