diff options
author | Terry Wilson <twilson@digium.com> | 2010-02-05 17:20:24 +0000 |
---|---|---|
committer | Terry Wilson <twilson@digium.com> | 2010-02-05 17:20:24 +0000 |
commit | 6ad36191895b81642268f6f201d5882f08a274ac (patch) | |
tree | 45751d8ec038b15119472e0c3ce6aa036a02ea68 /res/res_calendar_exchange.c | |
parent | acdb1bd82ffe8f86b1653ee2e0a89c35ade153be (diff) |
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
Diffstat (limited to 'res/res_calendar_exchange.c')
-rw-r--r-- | res/res_calendar_exchange.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_calendar_exchange.c b/res/res_calendar_exchange.c index 4722e6e88..8bead3a7e 100644 --- a/res/res_calendar_exchange.c +++ b/res/res_calendar_exchange.c @@ -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); } |