I tried to compile sipxtapi, sipxtacklib and sipxportlib with TLS support. It's 
not possible without some modifications. The patches are in attached zip.

Could you create a special Debug and Release configuration for these projects 
named something like "Debug (secure)" and "Release (secure)" to sipxtapi and 
sipxtapi-media update branch? Also for sipxtacklibtest, sipxtapitest, 
sipxmedialibtest, sipxezphone

You need to add these preprocessor definitions:

in sipxtapi:
HAVE_NSS

sipxtacklib:
SIP_TLS_NSS
SIP_TLS
HAVE_NSS

in sipxportlib:
SIP_TLS_NSS
SIP_TLS

Aditional linker dependencies:
in sipxtapi:
in sipxtacklibtest:
in sipxtapitest
in sipxmedialibtest
smime3.lib
nss3.lib
ssl3.lib
libnspr4.lib
libplc4.lib

As it is described on the webpage you need nss 3.9.1, newer version won't work. 
Nspr 4.6.4 is fine.

I can't check whether it is working right now, I can only confirm that after 
these modifications it compiles. Is anybody maintaining TLS or has it been 
abandoned?

Jaro

<<attachment: tls.zip>>

_______________________________________________
sipxtapi-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/

Reply via email to