[ 64%] Building CXX object CMakeFiles/opendht-static.dir/src/http.cpp.o
/usr/bin/c++ -DASIO_STANDALONE -DOPENDHT_JSONCPP -DOPENDHT_LOG=true -DOPENDHT_PEER_DISCOVERY -DOPENDHT_PROXY_CLIENT -DOPENDHT_PROXY_SERVER -DOPENDHT_PUSH_NOTIFICATIONS -DPACKAGE_VERSION=\"2.1.7\" -I/home/bandali/opendht/. -I/home/bandali/opendht/include -I/home/bandali/opendht/include/opendht -I/home/bandali/opendht/obj-mipsel-linux-gnu/include -isystem /usr/include/jsoncpp -g -O2 -fdebug-prefix-map=/home/bandali/opendht=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-return-type -Wall -Wextra -Wnon-virtual-dtor -pedantic-errors -fvisibility=hidden -DMSGPACK_DISABLE_LEGACY_NIL -DMSGPACK_DISABLE_LEGACY_CONVERT -fPIC -std=gnu++14 -o CMakeFiles/opendht-static.dir/src/http.cpp.o -c /home/bandali/opendht/src/http.cpp
/home/bandali/opendht/src/http.cpp: In function 'time_t dht::http::parse_ocsp_time(ASN1_GENERALIZEDTIME*)':
/home/bandali/opendht/src/http.cpp:227:9: error: 'ASN1_time_parse' was not declared in this scope; did you mean 'ASN1_item_free'?
  227 |     if (ASN1_time_parse((const char*)gt->data, gt->length, &tm, V_ASN1_GENERALIZEDTIME) == -1)
      |         ^~~~~~~~~~~~~~~
      |         ASN1_item_free
/home/bandali/opendht/src/http.cpp: In lambda function:
/home/bandali/opendht/src/http.cpp:499:125: error: invalid use of incomplete type 'X509_STORE_CTX' {aka 'struct x509_store_ctx_st'}
  499 |                                     ocspVerified = ocspValidateResponse(*ocspInfo, chain, ocspResp.body, ctx.native_handle()->ctx, logger);
      |                                                                                                                             ^~
In file included from /usr/include/openssl/crypto.h:25,
                 from /usr/include/openssl/bio.h:20,
                 from /usr/include/openssl/conf.h:13,
                 from /usr/include/asio/ssl/detail/openssl_types.hpp:20,
                 from /usr/include/asio/ssl/context_base.hpp:19,
                 from /usr/include/asio/ssl/context.hpp:23,
                 from /home/bandali/opendht/include/opendht/http.h:32,
                 from /home/bandali/opendht/src/http.cpp:19:
/usr/include/openssl/ossl_typ.h:129:16: note: forward declaration of 'X509_STORE_CTX' {aka 'struct x509_store_ctx_st'}
  129 | typedef struct x509_store_ctx_st X509_STORE_CTX;
      |                ^~~~~~~~~~~~~~~~~
/home/bandali/opendht/src/http.cpp: In lambda function:
/home/bandali/opendht/src/http.cpp:1406:46: warning: unused parameter 'resp' [-Wunused-parameter]
 1406 |     add_on_done_callback([&](const Response& resp){
      |                              ~~~~~~~~~~~~~~~~^~~~
make[3]: *** [CMakeFiles/opendht-static.dir/build.make:358: CMakeFiles/opendht-static.dir/src/http.cpp.o] Error 1
make[3]: Leaving directory '/home/bandali/opendht/obj-mipsel-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:147: CMakeFiles/opendht-static.dir/all] Error 2
make[2]: Leaving directory '/home/bandali/opendht/obj-mipsel-linux-gnu'
make[1]: *** [Makefile:152: all] Error 2
make[1]: Leaving directory '/home/bandali/opendht/obj-mipsel-linux-gnu'