From 4a585d9ba1be61c245af889753f0f36a0ec4e93c Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Fri, 6 Jun 2014 10:08:47 +0000 Subject: Misc (re #1751): fixed error when retrieving SSL error. Thanks Vittorio Giovara for the patch git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4858 74dad513-b988-da41-8d7b-12977e46ad98 --- pjlib/src/pj/ssl_sock_ossl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pjlib/src/pj/ssl_sock_ossl.c b/pjlib/src/pj/ssl_sock_ossl.c index 0e1526f2..7c7b6d00 100644 --- a/pjlib/src/pj/ssl_sock_ossl.c +++ b/pjlib/src/pj/ssl_sock_ossl.c @@ -1496,7 +1496,7 @@ static pj_bool_t asock_on_data_read (pj_activesock_t *asock, } else { - int err = SSL_get_error(ssock->ossl_ssl, (int)size); + int err = SSL_get_error(ssock->ossl_ssl, size_); /* SSL might just return SSL_ERROR_WANT_READ in * re-negotiation. -- cgit v1.2.3