Changes between Initial Version and Version 1 of Getting-Started/Installing-OpenSSL-Windows


Ignore:
Timestamp:
Apr 28, 2009 12:23:05 PM (10 years ago)
Author:
ismangil
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Getting-Started/Installing-OpenSSL-Windows

    v1 v1  
     1= Installing OpenSSL Library = 
     2 
     3If TLS support is wanted, then OpenSSL SDK must be installed in the development host. 
     4 
     5To install OpenSSL SDK from the Win32 binary distribution: 
     6 
     7   1. Install OpenSSL SDK to any folder (e.g. C:\OpenSSL) 
     8   2. Add OpenSSL DLL location to the system PATH. 
     9   3. Add OpenSSL include path to Visual Studio includes search directory. Make sure that OpenSSL header files can be accessed from the program with #include <openssl/ssl.h> construct. 
     10   4. Add OpenSSL library path to Visual Studio library search directory. Make sure the following libraries are accessible: 
     11          * For Debug build: libeay32MTd and ssleay32MTd. 
     12          * For Release build: libeay32MT and ssleay32MT. 
     13 
     14Then to enable TLS transport support in PJSIP, just add 
     15 
     16  #define PJSIP_HAS_TLS_TRANSPORT 1 
     17 
     18in your pj/config_site.h. When this macro is defined, OpenSSL libraries will be automatically linked to the application via the #pragma construct in sip_transport_tls_ossl.c file.