{
mont = BN_MONT_CTX_set_locked(
(BN_MONT_CTX **)&dsa->method_mont_p,
- CRYPTO_LOCK_DSA, dsa->p, ctx));
+ CRYPTO_LOCK_DSA, dsa->p, ctx);
if (!mont)
goto err;
}
if (rsa->flags & RSA_FLAG_CACHE_PUBLIC)
{
if (!BN_MONT_CTX_set_locked(&rsa->_method_mod_n,
- CRYPTO_LOCK_RSA, rsa->n, ctx)
+ CRYPTO_LOCK_RSA, rsa->n, ctx))
goto err;
}
if (rsa->flags & RSA_FLAG_CACHE_PUBLIC)
{
if (!BN_MONT_CTX_set_locked(&rsa->_method_mod_n,
- CRYPTO_LOCK_RSA, rsa->n, ctx)
+ CRYPTO_LOCK_RSA, rsa->n, ctx))
goto err;
}
if (rsa->flags & RSA_FLAG_CACHE_PRIVATE)
{
if (!BN_MONT_CTX_set_locked(&rsa->_method_mod_p,
- CRYPTO_LOCK_RSA, rsa->p, ctx)
+ CRYPTO_LOCK_RSA, rsa->p, ctx))
goto err;
if (!BN_MONT_CTX_set_locked(&rsa->_method_mod_q,
- CRYPTO_LOCK_RSA, rsa->q, ctx)
+ CRYPTO_LOCK_RSA, rsa->q, ctx))
goto err;
}