summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2020-07-13 02:20:41 -0400
committerGlenn Strauss <gstrauss@gluelogic.com>2020-07-13 17:39:30 -0400
commitc3dd167dd9772cbdd86b928462204443611f7e20 (patch)
tree7d6d39a89087bf16e0f9b779d500b1f544e79e25
parent33ae83029131774937be6a35826e64bc9c59d7b5 (diff)
downloadlighttpd-git-c3dd167dd9772cbdd86b928462204443611f7e20.tar.gz
[mod_openssl] fix build warnings on MacOS X
need undef OPENSSL_NO_STDIO for a few funcs which access filesystem
-rw-r--r--src/mod_openssl.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mod_openssl.c b/src/mod_openssl.c
index 1ad27f9d..d89ed24b 100644
--- a/src/mod_openssl.c
+++ b/src/mod_openssl.c
@@ -38,7 +38,11 @@
#include <unistd.h>
/*(not needed)*/
-#define OPENSSL_NO_STDIO
+/* correction; needed for:
+ * SSL_load_client_CA_file()
+ * X509_STORE_load_locations()
+ */
+/*#define OPENSSL_NO_STDIO*/
#ifndef USE_OPENSSL_KERBEROS
#ifndef OPENSSL_NO_KRB5