SSL options are ignored (certificate verification, CA store)
Status: Beta
Brought to you by:
miras
As in Bug #2971096, disabling the verification of SSL certificates or using custom CA stores does not work.
The functions for adding, modifying, and deleting events on the server in file caldav.c make only partial copies of the runtime settings. Thus, make_caldav_call() --- which dispatches the calls --- always creates a CURL context (caldav-utils.c:get_curl()) with default settings. These default settings enforce a verifiable SSL certificate.
The attached patch fixes the problem by introducing an auxiliary function that copies the complete runtime settings to the settings structure used to create the CURL context.
Patch (against r53) for completely copying the runtime settings to the CURL context.