aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkinichiro <kinichiro.inoguchi@gmail.com>2017-06-04 00:56:11 +0900
committerkinichiro <kinichiro.inoguchi@gmail.com>2017-06-04 00:56:11 +0900
commitd3f3daec18b9215f0e107f4f216b7873cd498b26 (patch)
treebaeda6939c68fd6d45a2687c7bf13f89ffac2e6b
parent0da71010d6a4344e93ab0c56f228dfb2952bae96 (diff)
downloadportable-d3f3daec18b9215f0e107f4f216b7873cd498b26.tar.gz
portable-d3f3daec18b9215f0e107f4f216b7873cd498b26.tar.bz2
portable-d3f3daec18b9215f0e107f4f216b7873cd498b26.zip
defining DEFAULT_CA_FILE only if it is not defined.
indicated by Kyle J. McKay mackyle@gmail.com
Diffstat (limited to '')
-rw-r--r--patches/http.c.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/patches/http.c.patch b/patches/http.c.patch
new file mode 100644
index 0000000..0e620cf
--- /dev/null
+++ b/patches/http.c.patch
@@ -0,0 +1,12 @@
1--- apps/ocspcheck/http.c.orig Sun Jun 4 00:45:29 2017
2+++ apps/ocspcheck/http.c Sun Jun 4 00:45:57 2017
3@@ -35,7 +35,9 @@
4 #include "http.h"
5 #include <tls.h>
6
7+#ifndef DEFAULT_CA_FILE
8 #define DEFAULT_CA_FILE "/etc/ssl/cert.pem"
9+#endif
10
11 /*
12 * A buffer for transferring HTTP/S data.