BN_CTX_start(&ctx); tmp = BN_CTX_get(&ctx);if(dh->priv_key ==NULL)gotoerr;if((dh->method_mont_p ==NULL) && (dh->flags & DH_FLAG_CACHE_MONT_P)) {if((dh->method_mont_p=(char*)BN_MONT_CTX_new()) !=NULL)if(!BN_MONT_CTX_set((BN_MONT_CTX *)dh->method_mont_p, ...