typo
authorDr. Stephen Henson <steve@openssl.org>
Sun, 12 Jan 2014 14:13:48 +0000 (14:13 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Sun, 12 Jan 2014 14:13:48 +0000 (14:13 +0000)
crypto/rand/md_rand.c

index 7158d30d8fc6cd1bdccc06eba6bfc2effd3d4648..6cab3087bbe20895aa5b49584d491990356f0b6e 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));
                }
        }