diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2020-07-13 02:20:41 -0400 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2020-07-13 17:39:30 -0400 |
commit | c3dd167dd9772cbdd86b928462204443611f7e20 (patch) | |
tree | 7d6d39a89087bf16e0f9b779d500b1f544e79e25 | |
parent | 33ae83029131774937be6a35826e64bc9c59d7b5 (diff) | |
download | lighttpd-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.c | 6 |
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 |