ASN1err(ASN1_F_D2I_NETSCAPE_RSA,ASN1_R_DECODING_ERROR);
ASN1err(ASN1_F_D2I_RSA_NET,ASN1_R_DECODING_ERROR);
RSA *d2i_RSA_NET(RSA **a, const unsigned char **pp, long length,		 int (*cb)(char *buf, int len, const char *prompt, int verify),		 int sgckey)	{	RSA *ret=NULL;	const unsigned char *p, *kp;	NETSCAPE_ENCRYPTED_PKEY *enckey = NULL;	p = *pp;	enckey = d2i_NETSCAPE_ENCRYPTED_PKEY(NULL, &p, length);	if(!enckey) {		ASN1err(ASN1_F_D2I_NETSCAPE_RSA,ASN1_R_DECODING_ERROR);		return NULL;	}	if ((enckey->os->length != 11) || (strncmp("private-key",		(char *)enckey->os->data,11) != 0))		{		ASN1err(ASN1_F_D2I_NETSCAPE_RSA,ASN1_R_PRIVATE_KEY_HEADER_MISSING);		NETSCAPE_ENCRYPTED_PKEY_free(enckey);		return NULL;		}	if (OBJ_obj2nid(enckey->enckey->algor->algorithm) != NID_rc4)		{		ASN1err(ASN1_F_D2I_NETSCAPE_RSA_2,ASN1_R_UNSUPPORTED_ENCRYPTION_ALGORITHM);		goto err;	}	kp = enckey->enckey->digest->data;	if (cb == NULL)		cb=EVP_read_pw_string;	if ((ret=d2i_RSA_NET_2(a, enckey->enckey->digest,cb, sgckey)) == NULL) goto err;	*pp = p;	err:	NETSCAPE_ENCRYPTED_PKEY_free(enckey);	return ret;	}