2008/3/25, Gregorio <[EMAIL PROTECTED]>: > Has changed the situation about using Sofia-sip with TLS under windows?
I think it should now compile. There has been some patches towards it from freeswitch guys AFAIR. --Pekka > On 11/17/06, Chung Pak Lai <[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 > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Sofia-sip-devel mailing list > Sofia-sip-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel > > -- Pekka.Pessi mail at nokia.com ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel