--- openssl-0.9.7g/crypto/dh/dh_key.c.cve-2006-2940-2 2006-09-29 09:14:30.000000000 -0600 +++ openssl-0.9.7g/crypto/dh/dh_key.c 2006-09-29 09:18:29.000000000 -0600 @@ -159,8 +159,8 @@ err: static int compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh) { - BN_CTX *ctx; - BN_MONT_CTX *mont; + BN_CTX *ctx = NULL ; + BN_MONT_CTX *mont = NULL; BIGNUM *tmp; int ret= -1;