Subject: | Compilation fails on debian/stretch (openssl 1.1.0) |
Compilation of the module fails on debian/stretch system, probably because of openssl 1.1.0:
...
cc -c "-Iinclude" "-I." "-I." -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"0.75\" -DXS_VERSION=\"0.75\" -o src/ldns/dane.o -fPIC "-I/opt/perl-5.22.2/lib/5.22.2/x86_64-linux/CORE" -DUSE_PPPORT -DWE_CAN_HAZ_IDN src/ldns/dane.c
src/ldns/dane.c: In function ‘ldns_dane_pkix_get_last_self_signed’:
src/ldns/dane.c:330:14: error: dereferencing pointer to incomplete type ‘X509_STORE_CTX {aka struct x509_store_ctx_st}’
if (vrfy_ctx->error == X509_V_ERR_SELF_SIGNED_CERT_IN_CHAIN ||
^~
Makefile:728: recipe for target 'src/ldns/dane.o' failed
make: *** [src/ldns/dane.o] Error 1
...