From d3f3daec18b9215f0e107f4f216b7873cd498b26 Mon Sep 17 00:00:00 2001 From: kinichiro Date: Sun, 4 Jun 2017 00:56:11 +0900 Subject: [PATCH] defining DEFAULT_CA_FILE only if it is not defined. indicated by Kyle J. McKay mackyle@gmail.com --- patches/http.c.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 patches/http.c.patch 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 @@ +--- apps/ocspcheck/http.c.orig Sun Jun 4 00:45:29 2017 ++++ apps/ocspcheck/http.c Sun Jun 4 00:45:57 2017 +@@ -35,7 +35,9 @@ + #include "http.h" + #include + ++#ifndef DEFAULT_CA_FILE + #define DEFAULT_CA_FILE "/etc/ssl/cert.pem" ++#endif + + /* + * A buffer for transferring HTTP/S data.