summaryrefslogtreecommitdiff
path: root/databases/tarantool/files/patch-src-httpc.c
diff options
context:
space:
mode:
Diffstat (limited to 'databases/tarantool/files/patch-src-httpc.c')
-rw-r--r--databases/tarantool/files/patch-src-httpc.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/databases/tarantool/files/patch-src-httpc.c b/databases/tarantool/files/patch-src-httpc.c
new file mode 100644
index 000000000000..4918bf747837
--- /dev/null
+++ b/databases/tarantool/files/patch-src-httpc.c
@@ -0,0 +1,12 @@
+--- src/httpc.c.orig 2018-10-12 19:53:35 UTC
++++ src/httpc.c
+@@ -333,7 +333,9 @@ httpc_execute(struct httpc_request *req,
+ ++env->stat.http_other_responses;
+ }
+ break;
++#if LIBCURL_VERSION_NUM < 0x073e00
+ case CURLE_SSL_CACERT:
++#endif
+ case CURLE_PEER_FAILED_VERIFICATION:
+ /* 495 SSL Certificate Error (nginx non-standard) */
+ req->status = 495;