re: fix compilation without deprecated OpenSSL APIs