projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90a6327
)
Initialise ctx to NULL to avoid uninitialized free, noticed by
author
Mark J. Cox
<mark@openssl.org>
Fri, 29 Sep 2006 08:20:11 +0000
(08:20 +0000)
committer
Mark J. Cox
<mark@openssl.org>
Fri, 29 Sep 2006 08:20:11 +0000
(08:20 +0000)
Steve Kiernan
crypto/dh/dh_key.c
patch
|
blob
|
history
diff --git
a/crypto/dh/dh_key.c
b/crypto/dh/dh_key.c
index c6e618bca2e4180fb9d9730c26d7378a7e3911ea..15276dc2dd4a316c836b6e31b3f2d45a87c30c79 100644
(file)
--- a/
crypto/dh/dh_key.c
+++ b/
crypto/dh/dh_key.c
@@
-175,7
+175,7
@@
err:
static int compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh)
{
- BN_CTX *ctx;
+ BN_CTX *ctx
=NULL
;
BN_MONT_CTX *mont=NULL;
BIGNUM *tmp;
int ret= -1;