From: Dr. Stephen Henson Date: Sun, 12 Jan 2014 14:13:48 +0000 (+0000) Subject: typo X-Git-Tag: master-pre-reformat~949 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9f10e9293bd34e9b6269b1d2030e61b56f48841b;p=openssl typo --- diff --git a/crypto/rand/md_rand.c b/crypto/rand/md_rand.c index 7158d30d8f..6cab3087bb 100644 --- a/crypto/rand/md_rand.c +++ b/crypto/rand/md_rand.c @@ -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)); } }