FIXED: conditionally support different EVP_KEY types. (Some versions of OpenSSL do not support patent-encumbered EVP key types).