Previous patch was incomplete and broke with deprecated APIs disabled. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Avoid calling deprecated and unnecessary library initialization functions with openssl >= 1.1.0. Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>