Changeset 6010


Ignore:
Timestamp:
May 28, 2019 4:11:37 AM (13 months ago)
Author:
nanang
Message:

Misc (re #2147): Fixed various build warnings (when building for Android).

Location:
pjproject/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjnath/src/pjnath/turn_sock.c

    r6004 r6010  
    717717} 
    718718 
     719#if PJ_HAS_SSL_SOCK 
    719720static pj_bool_t on_connect_complete_ssl_sock(pj_ssl_sock_t *ssl_sock, 
    720721                                              pj_status_t status) 
     
    728729    return on_connect_complete(turn_sock, status); 
    729730} 
     731#endif 
    730732 
    731733static pj_uint16_t GETVAL16H(const pj_uint8_t *buf, unsigned pos) 
     
    857859} 
    858860 
     861#if PJ_HAS_SSL_SOCK 
    859862static pj_bool_t on_data_read_ssl_sock(pj_ssl_sock_t *ssl_sock, 
    860863                                       void *data, 
     
    894897    return PJ_TRUE; 
    895898} 
     899#endif 
    896900 
    897901/* 
  • pjproject/trunk/third_party/srtp/crypto/hash/hmac_ossl.c

    r5726 r6010  
    5555 
    5656#define SHA1_DIGEST_SIZE                20 
    57 #define USING_LIBRESSL (defined(LIBRESSL_VERSION_NUMBER)) 
     57 
     58#if defined(LIBRESSL_VERSION_NUMBER) 
     59#       define USING_LIBRESSL 1 
     60#else 
     61#       define USING_LIBRESSL 0 
     62#endif 
    5863 
    5964/* the debug module for authentiation */ 
Note: See TracChangeset for help on using the changeset viewer.