pkey = (EVP_PKEY*)PEM_ASN1_read ((char *(*)())d2i_PrivateKey, PEM_STRING_EVP_PKEY, fp, NULL, NULL);
pkey = PEM_read_PrivateKey(fp, NULL, 0, NULL);
EVP_PKEY *ReadPrivateKey(const char *keyfile){	FILE *fp = fopen(keyfile, "r");	EVP_PKEY *pkey;	if (!fp)		return NULL;	pkey = (EVP_PKEY*)PEM_ASN1_read ((char *(*)())d2i_PrivateKey,                              PEM_STRING_EVP_PKEY,                              fp,                              NULL, NULL);	fclose (fp);  	if (pkey == NULL) 		ERR_print_errors_fp (stderr);   	return pkey;}