if(RSA_generate_key_ex(rsa, bits, e_value, &cb))
if(RSA_generate_key_ex(rsa, bits, e, &cb)) { BN_free(e);
RSA *RSA_generate_key(int bits, unsigned long e_value,	     void (*callback)(int,int,void *), void *cb_arg)	{	BN_GENCB cb;	RSA *rsa;	if((rsa=RSA_new()) == NULL)		return 0;	BN_GENCB_set_old(&cb, callback, cb_arg);	if(RSA_generate_key_ex(rsa, bits, e_value, &cb))		return rsa;	RSA_free(rsa);	return 0;	}