fix compiler warning in openssl.cpp
fix configuring tntnet using a own TntConfig object