Ignore:
Timestamp:
Jan 9, 2019 9:15:11 AM (2 years ago)
Author:
riza
Message:

Close #2174: Fix out of bound error when enabling GnuTLS.

File:
1 edited

Legend:

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

    r5860 r5929  
    2121 
    2222/* Include OpenSSL libraries for MSVC */ 
    23 #  ifdef _MSC_VER 
    24 #    if OPENSSL_VERSION_NUMBER >= 0x10100000L 
    25 #      pragma comment(lib, "libcrypto") 
    26 #    else 
    27 #      pragma comment(lib, "libeay32") 
    28 #      pragma comment(lib, "ssleay32") 
     23#  ifdef _MSC_VER  
     24#    if (PJ_SSL_SOCK_IMP == PJ_SSL_SOCK_IMP_OPENSSL) 
     25#      if OPENSSL_VERSION_NUMBER >= 0x10100000L 
     26#        pragma comment(lib, "libcrypto") 
     27#      else 
     28#        pragma comment(lib, "libeay32") 
     29#        pragma comment(lib, "ssleay32") 
     30#      endif 
    2931#    endif 
    3032#  endif 
    31  
    3233#endif 
    3334 
Note: See TracChangeset for help on using the changeset viewer.