提交 0a06ad76 编写于 作者: B Bodo Möller

Avoid failed assertion in BN_DEBUG builds

上级 bf6d2f98
......@@ -644,6 +644,9 @@ int BN_GF2m_mod_inv(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx)
ret = 1;
err:
#ifdef BN_DEBUG /* BN_CTX_end would complain about the expanded form */
bn_correct_top(c);
#endif
BN_CTX_end(ctx);
return ret;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册