Patched to compile with openssl 1.1, and also added -std=gnu++03 to allow compilation with gcc 7. Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>