Commit 709c63dd authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Win32: Use CRYPT_VERIFYCONTEXT for vlc_rand_bytes

Since we don't require access to persisted private keys

Manual cherry-pick of bf36bb29Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent fce8e21c
......@@ -154,7 +154,7 @@ void vlc_rand_bytes (void *buf, size_t len)
NULL, // Use default key container.
MS_DEF_PROV, // Use default CSP.
PROV_RSA_FULL, // Type of provider to acquire.
0) )
CRYPT_VERIFYCONTEXT) ) // Flag values
{
/* fill buffer with pseudo-random data, intial buffer content
is used as auxillary random seed */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment