mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 03:20:57 +00:00
Fix crash on 32-bit for users not using https
(closes issue #16778) Reported by: pitel Patches: diff.txt uploaded by twilson (license 396) Tested by: twilson, pitel git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@244945 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -694,7 +694,7 @@ static void *exchangecal_load_calendar(void *void_data)
|
||||
|
||||
pvt->session = ne_session_create(pvt->uri.scheme, pvt->uri.host, pvt->uri.port);
|
||||
ne_set_server_auth(pvt->session, auth_credentials, pvt);
|
||||
if (!strncasecmp(pvt->uri.scheme, "https", sizeof(pvt->uri.scheme))) {
|
||||
if (!strcasecmp(pvt->uri.scheme, "https")) {
|
||||
ne_ssl_trust_default_ca(pvt->session);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user