Building of OpenSSL 1.1.0 fails.
rc/mongo/crypto/crypto_openssl.cpp:48:16: error: aggregate 'EVP_MD_CTX digestCtx' has incomplete type and cannot be defined EVP_MD_CTX digestCtx; ^~~~~~~~~ src/mongo/crypto/crypto_openssl.cpp:50:19: error: 'EVP_MD_CTX_cleanup' was not declared in this scope ON_BLOCK_EXIT(EVP_MD_CTX_cleanup, &digestCtx); ^~~~~~~~~~~~~~~~~~ scons: *** [build/opt/mongo/crypto/crypto_openssl.o] Error 1
(example full log https://kojipkgs.fedoraproject.org//work/tasks/4184/16104184/build.log)
Also asio have to be updated to latest master to support openssl 1.1.0.
Patch for fixing openssl issues in mongodb attached. (does not include asio update)
Should I create github pull request? (it is not problem for me, but I don't know what is your workflow)
- links to