This commit is contained in:
Dr. Stephen Henson 2014-01-12 14:13:48 +00:00
parent ef643cc7bd
commit 9f10e9293b

View 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));
}
}