Changeset 5136


Ignore:
Timestamp:
Jul 28, 2015 9:56:31 AM (9 years ago)
Author:
nanang
Message:

Misc (re #1843): Fixed MSVC build error on samples app due to undefined symbol 'RAND_bytes'.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia/transport_srtp.c

    r5103 r5136  
    11001100 
    11011101#if defined(PJ_HAS_SSL_SOCK) && (PJ_HAS_SSL_SOCK != 0) 
     1102 
     1103/* Include OpenSSL libraries for MSVC */ 
     1104#  ifdef _MSC_VER 
     1105#    pragma comment( lib, "libeay32") 
     1106#    pragma comment( lib, "ssleay32") 
     1107#  endif 
     1108 
    11021109            err = RAND_bytes((unsigned char*)key, 
    11031110                             crypto_suites[cs_idx].cipher_key_len); 
Note: See TracChangeset for help on using the changeset viewer.