defining DEFAULT_CA_FILE only if it is not defined.
indicated by Kyle J. McKay mackyle@gmail.com
This commit is contained in:
parent
0da71010d6
commit
d3f3daec18
12
patches/http.c.patch
Normal file
12
patches/http.c.patch
Normal file
@ -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 <tls.h>
|
||||||
|
|
||||||
|
+#ifndef DEFAULT_CA_FILE
|
||||||
|
#define DEFAULT_CA_FILE "/etc/ssl/cert.pem"
|
||||||
|
+#endif
|
||||||
|
|
||||||
|
/*
|
||||||
|
* A buffer for transferring HTTP/S data.
|
Loading…
Reference in New Issue
Block a user