Dear maintainers, I am trying to build a new image for my VMs, based on Debian 9, including IBR-DTN as usual, but the "make" aborts, likely for a version incompatibility with more recent OpenSSL versions (on Debian 9 I have OpenSSl 1.1.0f). More specifically, in ibrcommon-1.0.1 after #./configure --with-openssl (which is OK), then #make aborts with the following error:
make[4]: Entering directory '/root/sources/IBR101/ibrcommon-1.0.1/ibrcommon/ssl' CXX HMacStream.lo In file included from HMacStream.cpp:22:0: ../../ibrcommon/ssl/HMacStream.h:47:12: error: field 'ctx_' has incomplete type 'HMAC_CTX {aka hmac_ctx_st}' HMAC_CTX ctx_; ^~~~ In file included from /usr/include/openssl/evp.h:14:0, from /usr/include/openssl/hmac.h:15, from ../../ibrcommon/ssl/HMacStream.h:26, from HMacStream.cpp:22: /usr/include/openssl/ossl_typ.h:102:16: note: forward declaration of 'HMAC_CTX {aka struct hmac_ctx_st}' typedef struct hmac_ctx_st HMAC_CTX; ^~~~~~~~~~~ HMacStream.cpp: In constructor 'ibrcommon::HMacStream::HMacStream(const unsigned char*, int)': HMacStream.cpp:29:22: error: 'HMAC_CTX_init' was not declared in this scope HMAC_CTX_init(&ctx_); ^ HMacStream.cpp: In destructor 'virtual ibrcommon::HMacStream::~HMacStream()': HMacStream.cpp:35:25: error: 'HMAC_CTX_cleanup' was not declared in this scope HMAC_CTX_cleanup(&ctx_); ^ Makefile:534: recipe for target 'HMacStream.lo' failed
I would be very grateful if you could examine and hopefully fix this problem. I look forward to your reply, Yours sincerely, Carlo Caini