projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef643cc
)
typo
author
Dr. Stephen Henson
<steve@openssl.org>
Sun, 12 Jan 2014 14:13:48 +0000
(14:13 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Sun, 12 Jan 2014 14:13:48 +0000
(14:13 +0000)
crypto/rand/md_rand.c
patch
|
blob
|
history
diff --git
a/crypto/rand/md_rand.c
b/crypto/rand/md_rand.c
index 7158d30d8fc6cd1bdccc06eba6bfc2effd3d4648..6cab3087bbe20895aa5b49584d491990356f0b6e 100644
(file)
--- 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));
}
}