typo
[openssl.git] / crypto / rand / md_rand.c
index 7158d30..6cab308 100644 (file)
@@ -693,7 +693,7 @@ static void rand_hw_seed(EVP_MD_CTX *ctx)
                rnd = OPENSSL_ia32_rdrand();
                if (rnd == 0)
                        return;
-               MD_Update(ctx, (unsigned char *)rnd, sizeof(size_t));
+               MD_Update(ctx, (unsigned char *)&rnd, sizeof(size_t));
                }
        }