fix incompatibility with libcurl 7.62

Thu, 30 May 2019 12:45:38 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Thu, 30 May 2019 12:45:38 +0200
changeset 601
1fbca22dd700
parent 600
8e7f02fd7b9b
child 602
ff9e8d2e2f3c

fix incompatibility with libcurl 7.62

libidav/session.c file | annotate | diff | comparison | revisions
--- a/libidav/session.c	Mon May 27 11:27:37 2019 +0200
+++ b/libidav/session.c	Thu May 30 12:45:38 2019 +0200
@@ -244,7 +244,9 @@
             case CURLE_SSL_ENGINE_SETFAILED:
             case CURLE_SSL_CERTPROBLEM:
             case CURLE_SSL_CIPHER:
+#ifndef CURLE_SSL_CACERT
             case CURLE_SSL_CACERT:
+#endif
             case CURLE_SSL_CACERT_BADFILE:
             case CURLE_SSL_SHUTDOWN_FAILED:
             case CURLE_SSL_CRL_BADFILE:

mercurial