diff -ru openssl-1.0.2a/crypto/bn/bn_gcd.c openssl-1.0.2a-no_uninitialized/crypto/bn/bn_gcd.c
--- openssl-1.0.2a/crypto/bn/bn_gcd.c	2015-03-19 14:19:00.000000000 +0100
+++ openssl-1.0.2a-no_uninitialized/crypto/bn/bn_gcd.c	2015-03-25 15:04:04.000000000 +0100
@@ -582,7 +582,7 @@
          * Turn BN_FLG_CONSTTIME flag on, so that when BN_div is invoked,
          * BN_div_no_branch will be called eventually.
          */
-        pB = &local_B;
+        pB = &local_B; local_B.flags = 0;
         BN_with_flags(pB, B, BN_FLG_CONSTTIME);
         if (!BN_nnmod(B, pB, A, ctx))
             goto err;
@@ -609,7 +609,7 @@
          * Turn BN_FLG_CONSTTIME flag on, so that when BN_div is invoked,
          * BN_div_no_branch will be called eventually.
          */
-        pA = &local_A;
+        pA = &local_A; local_A.flags = 0;
         BN_with_flags(pA, A, BN_FLG_CONSTTIME);
 
         /* (D, M) := (A/B, A%B) ... */
Only in openssl-1.0.2a-no_uninitialized/crypto/bn: bn_gcd.c~
diff -ru openssl-1.0.2a/crypto/rsa/rsa_crpt.c openssl-1.0.2a-no_uninitialized/crypto/rsa/rsa_crpt.c
--- openssl-1.0.2a/crypto/rsa/rsa_crpt.c	2015-03-19 14:19:00.000000000 +0100
+++ openssl-1.0.2a-no_uninitialized/crypto/rsa/rsa_crpt.c	2015-03-25 15:24:00.000000000 +0100
@@ -224,7 +224,7 @@
 
     if (!(rsa->flags & RSA_FLAG_NO_CONSTTIME)) {
         /* Set BN_FLG_CONSTTIME flag */
-        n = &local_n;
+        n = &local_n; local_n.flags = 0;
         BN_with_flags(n, rsa->n, BN_FLG_CONSTTIME);
     } else
         n = rsa->n;
Only in openssl-1.0.2a-no_uninitialized/crypto/rsa: rsa_crpt.c~
diff -ru openssl-1.0.2a/crypto/rsa/rsa_eay.c openssl-1.0.2a-no_uninitialized/crypto/rsa/rsa_eay.c
--- openssl-1.0.2a/crypto/rsa/rsa_eay.c	2015-03-19 14:19:00.000000000 +0100
+++ openssl-1.0.2a-no_uninitialized/crypto/rsa/rsa_eay.c	2015-03-25 15:08:56.000000000 +0100
@@ -558,7 +558,7 @@
         BIGNUM *d = NULL;
 
         if (!(rsa->flags & RSA_FLAG_NO_CONSTTIME)) {
-            d = &local_d;
+            d = &local_d; local_d.flags = 0;
             BN_with_flags(d, rsa->d, BN_FLG_CONSTTIME);
         } else
             d = rsa->d;
@@ -766,7 +766,7 @@
 
     /* compute I mod q */
     if (!(rsa->flags & RSA_FLAG_NO_CONSTTIME)) {
-        c = &local_c;
+        c = &local_c; local_c.flags = 0;
         BN_with_flags(c, I, BN_FLG_CONSTTIME);
         if (!BN_mod(r1, c, rsa->q, ctx))
             goto err;
@@ -777,7 +777,7 @@
 
     /* compute r1^dmq1 mod q */
     if (!(rsa->flags & RSA_FLAG_NO_CONSTTIME)) {
-        dmq1 = &local_dmq1;
+        dmq1 = &local_dmq1; local_dmq1.flags = 0;
         BN_with_flags(dmq1, rsa->dmq1, BN_FLG_CONSTTIME);
     } else
         dmq1 = rsa->dmq1;
@@ -797,7 +797,7 @@
 
     /* compute r1^dmp1 mod p */
     if (!(rsa->flags & RSA_FLAG_NO_CONSTTIME)) {
-        dmp1 = &local_dmp1;
+        dmp1 = &local_dmp1; local_dmp1.flags = 0;
         BN_with_flags(dmp1, rsa->dmp1, BN_FLG_CONSTTIME);
     } else
         dmp1 = rsa->dmp1;
@@ -819,7 +819,7 @@
 
     /* Turn BN_FLG_CONSTTIME flag on before division operation */
     if (!(rsa->flags & RSA_FLAG_NO_CONSTTIME)) {
-        pr1 = &local_r1;
+        pr1 = &local_r1; local_r1.flags = 0;
         BN_with_flags(pr1, r1, BN_FLG_CONSTTIME);
     } else
         pr1 = r1;
@@ -869,7 +869,7 @@
             BIGNUM *d = NULL;
 
             if (!(rsa->flags & RSA_FLAG_NO_CONSTTIME)) {
-                d = &local_d;
+                d = &local_d; local_d.flags = 0;
                 BN_with_flags(d, rsa->d, BN_FLG_CONSTTIME);
             } else
                 d = rsa->d;
Only in openssl-1.0.2a-no_uninitialized/crypto/rsa: rsa_eay.c~
