summaryrefslogtreecommitdiff
path: root/pjlib/include
diff options
context:
space:
mode:
authorNanang Izzuddin <nanang@teluu.com>2012-05-30 06:35:59 +0000
committerNanang Izzuddin <nanang@teluu.com>2012-05-30 06:35:59 +0000
commit181466bbf9e4a47f378a7936a4c1a69df15540a5 (patch)
treec5b942e4c2c985c0801844ca75313ec2df5a799b /pjlib/include
parent67a79c1015da7353843ea14405441b19b0dfc955 (diff)
Fix #1522:
1. Updated the 'shifter' (expected max openssl reason code) to 1200. 2. Done, added pj_ssl_sock_info::last_native_err. Also fixed pjsip/sip_transport_tls.c to include TLS transport specific info in invoking transport state callback on disconnection event. 3. Fixed. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4146 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/include')
-rw-r--r--pjlib/include/pj/ssl_sock.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/pjlib/include/pj/ssl_sock.h b/pjlib/include/pj/ssl_sock.h
index 0e8fb4a4..534c9144 100644
--- a/pjlib/include/pj/ssl_sock.h
+++ b/pjlib/include/pj/ssl_sock.h
@@ -542,6 +542,11 @@ typedef struct pj_ssl_sock_info
*/
pj_uint32_t verify_status;
+ /**
+ * Last native error returned by the backend.
+ */
+ unsigned long last_native_err;
+
} pj_ssl_sock_info;