projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
AFAICS lst1 stands for "lshift test" not "list".
[oweals/openssl.git]
/
crypto
/
dh
/
dh_gen.c
diff --git
a/crypto/dh/dh_gen.c
b/crypto/dh/dh_gen.c
index 7534ec40a016d5aca077127a50312b4e510988eb..b7bcd2c7a4183b44b622dab42b7c5a1e4779435a 100644
(file)
--- a/
crypto/dh/dh_gen.c
+++ b/
crypto/dh/dh_gen.c
@@
-92,6
+92,7
@@
DH *DH_generate_parameters(int prime_len, int generator,
BN_CTX *ctx=NULL;
ret=DH_new();
+ if (ret == NULL) goto err;
ctx=BN_CTX_new();
if (ctx == NULL) goto err;
t1= &(ctx->bn[0]);