提交 53e51612 编写于 作者: A Andy Polyakov

dh_check.c: check BN_CTX_get's return value.

上级 687403fb
......@@ -82,6 +82,7 @@ int DH_check(const DH *dh, int *ret)
if (ctx == NULL) goto err;
BN_CTX_start(ctx);
t1=BN_CTX_get(ctx);
if (t1 == NULL) goto err;
t2=BN_CTX_get(ctx);
if (t2 == NULL) goto err;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册