Factor OpenSSL specifics out to crypto-openssl.c