aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/rand
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2014-01-12 14:13:48 +0000
committerDr. Stephen Henson <steve@openssl.org>2014-01-12 14:13:48 +0000
commit9f10e9293bd34e9b6269b1d2030e61b56f48841b (patch)
tree0f2a4d0d5ff5f9eddadbe3dae37be7b92af20cd5 /crypto/rand
parentef643cc7bdb24fbff4740192a7fc1fc768fb7693 (diff)
downloadopenssl-9f10e9293bd34e9b6269b1d2030e61b56f48841b.tar.gz
typo
Diffstat (limited to 'crypto/rand')
-rw-r--r--crypto/rand/md_rand.c2
1 files changed, 1 insertions, 1 deletions
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));
}
}