Linking OpenSSL to webassembly
Before asking this question I just want to say that I did some homework. The question is very similar to the one already asked here i.
The solution was pretty simple. I have forgotten to add to the cmake file the following
target_link_libraries(mainTest crypto) after that it all worked without warnings.