ret->meth=default_RSA_meth;
ret->meth=RSA_get_default_method();
RSA *RSA_new_method(RSA_METHOD *meth)	{	RSA *ret;	if (default_RSA_meth == NULL)		{#ifdef RSA_NULL		default_RSA_meth=RSA_null_method();#else#ifdef RSAref		default_RSA_meth=RSA_PKCS1_RSAref();#else		default_RSA_meth=RSA_PKCS1_SSLeay();#endif#endif		}	ret=(RSA *)Malloc(sizeof(RSA));	if (ret == NULL)		{		RSAerr(RSA_F_RSA_NEW_METHOD,ERR_R_MALLOC_FAILURE);		return(NULL);		}	if (meth == NULL)		ret->meth=default_RSA_meth;	else		ret->meth=meth;	ret->pad=0;	ret->version=0;	ret->n=NULL;	ret->e=NULL;	ret->d=NULL;	ret->p=NULL;	ret->q=NULL;	ret->dmp1=NULL;	ret->dmq1=NULL;	ret->iqmp=NULL;	ret->references=1;	ret->_method_mod_n=NULL;	ret->_method_mod_p=NULL;	ret->_method_mod_q=NULL;	ret->blinding=NULL;	ret->bignum_data=NULL;	ret->flags=ret->meth->flags;	if ((ret->meth->init != NULL) && !ret->meth->init(ret))		{		Free(ret);		ret=NULL;		}	else		CRYPTO_new_ex_data(rsa_meth,ret,&ret->ex_data);	return(ret);	}