Added a consolidated check for pre-OpenSSL 1.1 API usage