Fix warning.
authorBen Laurie <ben@openssl.org>
Tue, 13 Dec 2011 15:55:35 +0000 (15:55 +0000)
committerBen Laurie <ben@openssl.org>
Tue, 13 Dec 2011 15:55:35 +0000 (15:55 +0000)
crypto/bn/bn_gf2m.c

index ee7a358c6920db1e74d02de79cacdb31f1d34a37..0bfb56971e3362eadbe248864dea15f30eefd6c6 100644 (file)
@@ -525,7 +525,7 @@ err:
  */
 int BN_GF2m_mod_inv(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx)
        {
-       BIGNUM *b, *c, *u, *v, *tmp;
+       BIGNUM *b, *c = NULL, *u = NULL, *v = NULL, *tmp;
        int ret = 0;
 
        bn_check_top(a);