memset, memcpy, sizeof consistency fixes
[openssl.git] / engines / e_atalla.c
index 278cff427a4a2a5303fb249be00e7ce6654ee556..4bde213462775002629a6499b9bf2df64c2047c2 100644 (file)
@@ -492,7 +492,7 @@ static int atalla_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
         goto err;
     }
     /* Prepare the key-data */
-    memset(&keydata, 0, sizeof keydata);
+    memset(&keydata, 0, sizeof(keydata));
     numbytes = BN_num_bytes(m);
     memset(exponent->d, 0, numbytes);
     memset(modulus->d, 0, numbytes);