Assign the algorithm type of an empty EVP_PKEY by NID / EVP_PKEY_* id.
Declared in <openssl/evp.h>
<openssl/evp.h>
int EVP_PKEY_set_type( EVP_PKEY* pkey, int type);
1 on success, or 0 on error.