Logged In: YES
user_id=1552879

Maybe adding the ctx variable should fix this:

if ( !rsa->meth->rsa_mod_exp( & ret, & f, rsa, ctx ) )