Changeset 4146 for pjproject/trunk/pjsip/src/pjsip/sip_transport_tls.c
- Timestamp:
- May 30, 2012 6:35:59 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip/sip_transport_tls.c
r3999 r4146 195 195 if (state_cb) { 196 196 pjsip_transport_state_info state_info; 197 197 pjsip_tls_state_info tls_info; 198 pj_ssl_sock_info ssl_info; 199 200 /* Init transport state info */ 198 201 pj_bzero(&state_info, sizeof(state_info)); 199 202 state_info.status = tls->close_reason; 203 204 if (tls->ssock && 205 pj_ssl_sock_get_info(tls->ssock, &ssl_info) == PJ_SUCCESS) 206 { 207 pj_bzero(&tls_info, sizeof(tls_info)); 208 tls_info.ssl_sock_info = &ssl_info; 209 state_info.ext_info = &tls_info; 210 } 211 200 212 (*state_cb)(&tls->base, PJSIP_TP_STATE_DISCONNECTED, &state_info); 201 213 }
Note: See TracChangeset
for help on using the changeset viewer.