dh_check.c: check BN_CTX_get's return value.
(cherry picked from commit 53e5161231854d64fd89e993944609a329a92db4)
This commit is contained in:
parent
430c5ca02e
commit
fe69e6be6e
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user