Changeset 6022


Ignore:
Timestamp:
Jun 11, 2019 2:03:02 AM (5 years ago)
Author:
nanang
Message:

Misc (re #2147): Fixed warnings in SSL socket: redefinition of typedef 'pj_ssl_sock_t' and unused 'get_pem'.

Location:
pjproject/trunk/pjlib/src/pj
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/src/pj/ssl_sock_imp_common.h

    r5938 r6022  
    9494 * Secure socket structure definition. 
    9595 */ 
    96 typedef struct pj_ssl_sock_t 
     96struct pj_ssl_sock_t 
    9797{ 
    9898    pj_pool_t            *pool; 
     
    140140    circ_buf_t            circ_buf_output; 
    141141    pj_lock_t            *circ_buf_output_mutex; 
    142 } pj_ssl_sock_t; 
     142}; 
    143143 
    144144 
  • pjproject/trunk/pjlib/src/pj/ssl_sock_ossl.c

    r6014 r6022  
    3838    (PJ_SSL_SOCK_IMP == PJ_SSL_SOCK_IMP_OPENSSL) 
    3939 
    40 #include "ssl_sock_imp_common.h" 
    4140#include "ssl_sock_imp_common.c" 
    4241 
     
    15771576    int i; 
    15781577 
     1578    /* For now, get_pem has to be PJ_TRUE */ 
     1579    pj_assert(get_pem); 
     1580    PJ_UNUSED_ARG(get_pem); 
     1581 
    15791582    ci->raw_chain.cert_raw = (pj_str_t *)pj_pool_calloc(pool, 
    15801583                                                        sk_X509_num(chain), 
Note: See TracChangeset for help on using the changeset viewer.