Wrap OpenSsl-related functions into a new namespace
to prevent ODR violations in static builds, because all the same
functions are already exported by QtNetwork's plugin.
Wrapping everything in a namespace also means that we now cannot use
the #define keyword to provide same functions under different name or
with some default parameters, but rather need to actually implement new
functions.
Amends 00f86fd8431e3c89d2e626cbaf965b75bf2ea8d4, but the original code
was changed a lot in 3160fa3c4a7ed17992127a11e474cd4cb01f6355, so
picking back only to 6.8.
Fixes: QTBUG-142475
Pick-to: 6.11 6.10 6.8
Change-Id: I124bcc9ce9377b15f49648d136e2a235d2ff56f9
Reviewed-by: Jannis Völker <jannis.voelker@basyskom.com>